Jet.Parser
Class AddSyntacticRelations

java.lang.Object
  extended byJet.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.


Field Summary
static java.lang.String[] comlexDeterminers
           
static java.lang.String[] possessivePronouns
           
 
Constructor Summary
AddSyntacticRelations()
           
 
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
 

Field Detail

comlexDeterminers

public static final java.lang.String[] comlexDeterminers

possessivePronouns

public static final java.lang.String[] possessivePronouns
Constructor Detail

AddSyntacticRelations

public AddSyntacticRelations()
Method Detail

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'.