|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eml.sir.util.Tagger
org.eml.sir.util.TreeTagger
Class that offers methods for tagging. It wrapps the functions of the TreeTagger. This programm must be installed.
Constructor Summary | |
TreeTagger()
Create a new instance of TreeTagger. |
Method Summary | |
java.util.ArrayList |
getBasicForm(java.util.ArrayList words)
Return a list of basic forms of the word with the same index in the parameter list. |
java.lang.String |
getBasicForm(java.lang.String word)
Return a basic form of a word. |
java.util.ArrayList |
getPartOfSpeech(java.util.ArrayList words)
Return a list with Characters representing the part of speech of the word with the same index in the parameter list. |
char |
getPartOfSpeech(java.lang.String word)
Return the part of speech of a word. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TreeTagger()
Method Detail |
public char getPartOfSpeech(java.lang.String word)
getPartOfSpeech
in class Tagger
public java.lang.String getBasicForm(java.lang.String word)
public java.util.ArrayList getPartOfSpeech(java.util.ArrayList words)
getPartOfSpeech
in class Tagger
words
- List of words.
public java.util.ArrayList getBasicForm(java.util.ArrayList words)
words
- List of words.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |