edu.stanford.nlp.ie.pascal
Class Alignment

java.lang.Object
  extended by edu.stanford.nlp.ie.pascal.Alignment

public class Alignment
extends Object

Container class for aligning acronyms.

Author:
Jamie Nicolson

Field Summary
 char[] longForm
           
 int[] pointers
           
 char[] shortForm
           
 
Constructor Summary
Alignment(BufferedReader reader)
           
Alignment(char[] longForm, char[] shortForm, int[] pointers)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 void print()
           
 void serialize(PrintWriter writer)
           
 String toString()
           
 String toString(String prefix)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

longForm

public char[] longForm

shortForm

public char[] shortForm

pointers

public int[] pointers
Constructor Detail

Alignment

public Alignment(char[] longForm,
                 char[] shortForm,
                 int[] pointers)

Alignment

public Alignment(BufferedReader reader)
          throws IOException
Throws:
IOException
Method Detail

serialize

public void serialize(PrintWriter writer)

print

public void print()

toString

public String toString()
Overrides:
toString in class Object

toString

public String toString(String prefix)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Stanford NLP Group