|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Parser
Interface for full-syntactic parsers.
| Method Summary | |
|---|---|
Parse |
parse(Parse tokens)
Returns a parse for the specified parse of tokens. |
Parse[] |
parse(Parse tokens,
int numParses)
Returns the specified number of parses or fewer for the specified tokens. |
| Method Detail |
|---|
Parse[] parse(Parse tokens,
int numParses)
Parse.setParent(Parse) can be used to make the parents consistent
with a particular parse, but subsequent calls to setParents can invalidate the results of earlier
calls.
tokens - A parse containing the tokens with a single parent node.numParses - The number of parses desired.
Parse parse(Parse tokens)
tokens - The root node of a flat parse containing only tokens.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||