edu.stanford.nlp.ie.pascal
Class AlignmentFactory
java.lang.Object
edu.stanford.nlp.ie.pascal.AlignmentFactory
public class AlignmentFactory
- extends Object
Generates Alignment
objects for acronym alignment.
- Author:
- Jamie Nicolson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
AlignmentFactory
public AlignmentFactory(String longForm,
String shortForm)
AlignmentFactory
public AlignmentFactory(char[] longForm,
char[] shortForm)
toLower
public static char[] toLower(char[] in)
getAlignments
public Iterator<Alignment> getAlignments()
getAlignmentsList
public ArrayList<Alignment> getAlignmentsList()
dumpIntArray
public static String dumpIntArray(int[] a)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Stanford NLP Group