|
Parsing Engine | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WordFactory
Specifies methods for constructing Word objects.
| Method Summary | |
|---|---|
Word |
get(Sexp s)
Constructs a Word object from the specified S-expression, which
must be a list of length 2 or greater, where the first two elements are
symbols. |
Word |
get(Symbol word,
Symbol tag)
Constructs a Word object from the specified symbols. |
Word |
get(Symbol word,
Symbol tag,
Symbol features)
Constructs a Word object from the specified symbols. |
| Method Detail |
|---|
Word get(Sexp s)
Word object from the specified S-expression, which
must be a list of length 2 or greater, where the first two elements are
symbols. The first symbol is the actual word, the second its
part-of-speech tag and a third, if present, is the word's features-vector.
s - the S-expression from which to construct a Word object
Word objectWordFeatures
Word get(Symbol word,
Symbol tag)
Word object from the specified symbols.
word - the word itselftag - the word's part-of-speech tag
Word object
Word get(Symbol word,
Symbol tag,
Symbol features)
Word object from the specified symbols.
word - the word itselftag - the word's part-of-speech tagfeatures - the word's feature vector
Word objectWordFeatures
|
Parsing Engine | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||