leila.evaluate
Class Check

java.lang.Object
  extended by leila.evaluate.Check

public class Check
extends java.lang.Object

This class is part of LEILA (http://mpii.de/yago-naga/leila). It is licensed under the Creative Commons Attribution License (http://creativecommons.org/licenses/by/3.0) by the author Fabian M. Suchanek (http://suchanek.name).

Check.java provides a user-interface to verify a LEILA-result manually. Call this program with the folder containing the corpus files and the type of the corpus files (html or txt). Then, paste an output pair and the program will show all parts of the corpus that contain the ouput pair. Example:

>java Check c:\data\composers html
Paste "First Second # file":> Chopin composer # chopin.lgo
...
   Chopin was one of the greates composers.
   His works include numerous pieces,
...


Field Summary
static java.util.regex.Pattern resultPattern
          Input pattern
 
Constructor Summary
Check()
           
 
Method Summary
static void main(java.lang.String[] argv)
          Reads a result from the keyboard, prints corresponding lines in source document
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resultPattern

public static java.util.regex.Pattern resultPattern
Input pattern

Constructor Detail

Check

public Check()
Method Detail

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Exception
Reads a result from the keyboard, prints corresponding lines in source document

Throws:
java.lang.Exception