|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectextractTerms.ExtractTermsExample
Example for the method extract of ExtractTerms class.
ExtractTerms
Constructor Summary | |
ExtractTermsExample()
|
Method Summary | |
static void |
main(java.lang.String[] args)
Just extract possible terms of the input file and write results in the output file. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExtractTermsExample()
Method Detail |
public static void main(java.lang.String[] args)
args
- arguments of program
The default hard-coded other parameters are :
regexUnit = "([^/]+/\\S+) " regexSentPhraSeparator = "([^/]+/[.,?!;:()\"])" regexNameOfText = "---/(.*)" regex2Units1 = "[^/]+/JJ[RS]? " regex2Units2 = "[^/]+/NN[PS]?[S] " tagKept2Units = 2 regex3Units1 = "[^/]+/NN[PS]?[S] " regex3Units2 = "[^/]+/IN " regex3Units3 = "[^/]+/NN[PS]?[S] " tagKept3Units = 3 formula = 1 tfidf = false pruning2Units = 4 pruning3Units = 4 maxResults2Units = 500 maxResults3Units = 500 separator = "/" relation2Units = 0 relation3Units = 0 occFirst = false
ExtractTerms constructor for more information on default parameters.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |