org.apache.ctakes.coreference.eval.helpers
Class Span

java.lang.Object
  extended by org.apache.ctakes.coreference.eval.helpers.Span

public class Span
extends Object


Constructor Summary
Span()
           
Span(int[] i)
           
Span(String str)
           
 
Method Summary
 boolean equals(Object o)
           
 double gap()
           
 int[] get(int i)
           
 int hashCode()
           
 int length()
           
static double score(Span s1, Span s2)
           
 int size()
           
 Span tail()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Span

public Span()

Span

public Span(int[] i)

Span

public Span(String str)
Method Detail

size

public int size()

length

public int length()

get

public int[] get(int i)

tail

public Span tail()

score

public static double score(Span s1,
                           Span s2)

gap

public double gap()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.