edu.stanford.nlp.ie.pascal
Class AlignmentFactory

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

public class AlignmentFactory
extends java.lang.Object

Generates Alignment objects for acronym alignment.

Author:
Jamie Nicolson

Field Summary
static byte SHIFT_BOTH
           
static byte SHIFT_LONG
           
static byte SHIFT_SHORT
           
 
Constructor Summary
AlignmentFactory(char[] longForm, char[] shortForm)
           
AlignmentFactory(java.lang.String longForm, java.lang.String shortForm)
           
 
Method Summary
static java.lang.String dumpIntArray(int[] a)
           
 java.util.Iterator<Alignment> getAlignments()
           
 java.util.ArrayList<Alignment> getAlignmentsList()
           
static void main(java.lang.String[] args)
           
static char[] toLower(char[] in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHIFT_LONG

public static final byte SHIFT_LONG
See Also:
Constant Field Values

SHIFT_SHORT

public static final byte SHIFT_SHORT
See Also:
Constant Field Values

SHIFT_BOTH

public static final byte SHIFT_BOTH
See Also:
Constant Field Values
Constructor Detail

AlignmentFactory

public AlignmentFactory(java.lang.String longForm,
                        java.lang.String shortForm)

AlignmentFactory

public AlignmentFactory(char[] longForm,
                        char[] shortForm)
Method Detail

toLower

public static char[] toLower(char[] in)

getAlignments

public java.util.Iterator<Alignment> getAlignments()

getAlignmentsList

public java.util.ArrayList<Alignment> getAlignmentsList()

dumpIntArray

public static java.lang.String dumpIntArray(int[] a)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Stanford NLP Group