Linkable.Analysis
Class SentenceTree.Split

java.lang.Object
  |
  +--Linkable.Analysis.SentenceTree.Split
Enclosing class:
SentenceTree

protected class SentenceTree.Split
extends java.lang.Object


Field Summary
private  java.util.Vector anchors
           
private  java.lang.String ldelim
           
private  java.lang.String rdelim
           
private  java.util.Vector refs
           
private  java.util.Vector tokens
           
 
Constructor Summary
SentenceTree.Split(java.util.Vector t)
          analyzes the reference, builds "anchors" and "refs"
 
Method Summary
private  void cleanup()
           
 java.util.Vector getAnchors()
           
 java.util.Vector getRefs()
           
private  boolean noEtal(java.lang.String ref)
          determines whether this reference is a conjunction
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

anchors

private java.util.Vector anchors

refs

private java.util.Vector refs

tokens

private java.util.Vector tokens

ldelim

private java.lang.String ldelim

rdelim

private java.lang.String rdelim
Constructor Detail

SentenceTree.Split

public SentenceTree.Split(java.util.Vector t)
analyzes the reference, builds "anchors" and "refs"
Parameters:
the - Vector of tokens (which are Strings), including the delimiters, which are the first and last elements of the vector. The constructor uses this vector to set up the vector of references (usually only one string) and the associated vector of literal anchors.
Method Detail

getAnchors

public java.util.Vector getAnchors()

getRefs

public java.util.Vector getRefs()

cleanup

private void cleanup()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

noEtal

private boolean noEtal(java.lang.String ref)
determines whether this reference is a conjunction
Parameters:
the - String that is the reference, e.g. "[Booze and Allen, 1999]"