Jet.Parser
Class AddSyntacticRelations
java.lang.Object
Jet.Parser.AddSyntacticRelations
- public class AddSyntacticRelations
- extends java.lang.Object
takes a Penn Tree Bank tree and adds links corresponding to
various syntactic relations used by coreference.
Method Summary |
static void |
annotate(Document doc,
Span span)
annotate the constituents of document 'doc' within Span 'span'. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
comlexDeterminers
public static final java.lang.String[] comlexDeterminers
possessivePronouns
public static final java.lang.String[] possessivePronouns
AddSyntacticRelations
public AddSyntacticRelations()
annotate
public static void annotate(Document doc,
Span span)
- annotate the constituents of document 'doc' within Span 'span'.
If there is a 'sentence' annotation starting at the beginning
of 'span', annotate all nodes in the parse tree associated
with that sentence. Otherwise annotate all nodes ('constit'
annotations) within 'span'.