| Package | Description |
|---|---|
| edu.nyu.jet.parser |
The Parser package includes several types of parsers (top-down, bottom-up,
and chart).
|
| Modifier and Type | Method and Description |
|---|---|
SyntacticRelation |
SyntacticRelationSet.get(int i)
returns the i-th relation in the set, where i is non-negative
and less than the size of the set.
|
SyntacticRelation |
SyntacticRelationSet.getRelation(int from,
int to)
return the first relation whose source is at position
from
and whose target is at position to, or null
if no such relation exists. |
SyntacticRelation |
SyntacticRelationSet.getRelation(int from,
String type)
return the first relation whose source is at position
from
and whose type is type, or null
if no such relation exists. |
SyntacticRelation |
SyntacticRelationSet.getRelationTo(int to)
return the first relation whose target is at position
to
or null if no such relation exists. |
| Modifier and Type | Method and Description |
|---|---|
void |
SyntacticRelationSet.add(SyntacticRelation r)
adds a SyntacticRelation to the set.
|
Copyright © 2016 New York University. All rights reserved.