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
IOException
public WordComparator(ResourceManager rm_) throws IllegalArgumentException, IOException
IllegalArgumentException
IOException
public void SetAs_NEComparator() throws IllegalArgumentException, IOException
IllegalArgumentException
IOException
protected void configure(ResourceManager rm_) throws IllegalArgumentException, IOException
IllegalArgumentException
IOException
Copyright © 2017. All rights reserved.