Jet.Refres
Class Hobbs

java.lang.Object
  extended byJet.Refres.Hobbs

public class Hobbs
extends java.lang.Object

functions for computing 'Hobbs distance' for reference resolution.


Constructor Summary
Hobbs()
           
 
Method Summary
static int distance(Annotation m1, Annotation m2, java.util.Vector sentences)
          computes the distance (number of nodes traversed) in a Hobbs search starting from parse tree node 'm2' and searching backwards for parse tree node 'm1'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hobbs

public Hobbs()
Method Detail

distance

public static int distance(Annotation m1,
                           Annotation m2,
                           java.util.Vector sentences)
computes the distance (number of nodes traversed) in a Hobbs search starting from parse tree node 'm2' and searching backwards for parse tree node 'm1'. 'sentences' is a Vector of the sentences in the Document.