public class WordComparator extends Object implements edu.illinois.cs.cogcomp.mrcs.comparators.Comparator<String,edu.illinois.cs.cogcomp.mrcs.dataStructures.EntailmentResult>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
defaultUpwardMonotone |
| Constructor and Description |
|---|
WordComparator(ResourceManager rm_) |
WordComparator(String configFile_) |
| Modifier and Type | Method and Description |
|---|---|
edu.illinois.cs.cogcomp.mrcs.dataStructures.EntailmentResult |
compare(String specific_,
String general_) |
protected void |
configure(ResourceManager rm_)
reads parameters from configuration file named by m_propertiesFile loads
stopwords, sets xmlrpc client if appropriate
|
void |
SetAs_NEComparator()
only used to initialize the NE comparator
|
public WordComparator(String configFile_) throws IOException
IOExceptionpublic WordComparator(ResourceManager rm_) throws IllegalArgumentException, IOException
IllegalArgumentExceptionIOExceptionpublic void SetAs_NEComparator()
throws IllegalArgumentException,
IOException
IllegalArgumentExceptionIOExceptionprotected void configure(ResourceManager rm_) throws IllegalArgumentException, IOException
IllegalArgumentExceptionIOExceptionCopyright © 2017. All rights reserved.