|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.uottawa.balie.POSLookup
Lookup for part-of-speeches. Comes from two sources:
Constructor Summary | |
POSLookup(LanguageSpecific pi_LanguageSpecific)
Loads qTag module, for on-the-fly tagging as well as a list of hard-coded POS. |
Method Summary | |
int[] |
GetPartOfSpeech(java.util.ArrayList pi_WordList)
Guess the POS of every element of a list of tokens. |
int[] |
GetPartOfSpeech(java.lang.String[] pi_Words)
Guess the POS of every element of a list of tokens. |
static void |
main(java.lang.String[] args)
Main can be called to train the external module qTag. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public POSLookup(LanguageSpecific pi_LanguageSpecific)
pi_LanguageSpecific
- The class that contains language specific informationsMethod Detail |
public int[] GetPartOfSpeech(java.util.ArrayList pi_WordList)
pi_WordList
- An arraylist of preprocessed tokens (the wordlist is found in the TokenList
)
TokenConsts
for POS enumeration)TokenList
,
TokenConsts
public int[] GetPartOfSpeech(java.lang.String[] pi_Words)
pi_Words
- An array of preprocessed (canonized) tokens.
TokenConsts
for POS enumeration)TokenConsts
public static void main(java.lang.String[] args)
args
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |