modnlp.tc.util
public class MakeCoOccur extends java.lang.Object
Constructor and Description |
---|
MakeCoOccur(java.lang.String clist,
java.lang.String swlist,
java.lang.String aggr)
Set up the main user interface items
|
Modifier and Type | Method and Description |
---|---|
WordFrequencyPair[] |
filter(java.lang.String method,
TCProbabilityModel pm,
java.lang.String categ) |
static void |
main(java.lang.String[] args) |
ParsedCorpus |
parse(java.lang.String filename,
java.lang.String plugin)
parseNews: Set up parser object, perform parsing, and print
indented contents onto stdout (for test purposes only)
|
public MakeCoOccur(java.lang.String clist, java.lang.String swlist, java.lang.String aggr)
public ParsedCorpus parse(java.lang.String filename, java.lang.String plugin) throws java.lang.Exception
java.lang.Exception
public WordFrequencyPair[] filter(java.lang.String method, TCProbabilityModel pm, java.lang.String categ) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args)