|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Parser
An interface for building dependency parse trees from raw text.
Method Summary | |
---|---|
String |
parseText(String header,
String document)
Returns a dependency parse tree formatted in the default CoNLL format. |
String |
parseText(String header,
StringPair[] sentence)
Returns a dependency parse tree formatted in the default CoNLL format. |
Method Detail |
---|
String parseText(String header, String document)
header
is not null
, then it
will be first line of each parse tree, otherwise only padded parse trees
will be returned.
header
- The header text that should label each parsed treedocument
- The raw text to be parsedString parseText(String header, StringPair[] sentence)
header
is
not null
, then it will be first line of the parse tree, otherwise
only the parse tree will be returned.
header
- The header text that should label each parsed treesentence
- The part of speech tagged words in a sentence.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |