|
Parsing Engine | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdanbikel.parser.Words
public class Words
Provides static methods to create Word instances via an internal
WordFactory instance. The static methods of this class have
identical signatures to those of the WordFactory interface. The
concrete type of the internal WordFactory instance is determined by
the value of the Settings.wordFactoryClass setting.
WordFactory,
Settings.wordFactoryClass| Method Summary | |
|---|---|
static Word |
get(Sexp s)
Returns a new Word instance constructed from the specified
S-expression. |
static Word |
get(Symbol word,
Symbol tag)
Returns a new Word instance constructed from the specified word and
tag symbols. |
static Word |
get(Symbol word,
Symbol tag,
Symbol features)
Returns a new Word instance constructed from the specified word,
tag and feature-vector symbols. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Word get(Sexp s)
Word instance constructed from the specified
S-expression.
s - the S-expression from which to construct a new Word
instance
Word instance constructed from the specified
S-expressionWordFactory.get(Sexp),
Word.Word(Sexp)
public static Word get(Symbol word,
Symbol tag)
Word instance constructed from the specified word and
tag symbols.
word - the word itselftag - the word's part of speech
Word instance constructed from the specified word and
tag symbolsWordFactory.get(Symbol,Symbol),
Word.Word(Symbol,Symbol)
public static Word get(Symbol word,
Symbol tag,
Symbol features)
Word instance constructed from the specified word,
tag and feature-vector symbols.
word - the word itselftag - the word's part of speechfeatures - the word's feature vector (see WordFeatures)
Word instance constructed from the specified word and
tag symbolsWordFactory.get(Symbol,Symbol,Symbol),
Word.Word(Symbol,Symbol,Symbol)
|
Parsing Engine | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||