edu.umd.hooka.alignment.aer
Class ReferenceAlignment
java.lang.Object
edu.umd.hooka.Alignment
edu.umd.hooka.alignment.aer.ReferenceAlignment
- All Implemented Interfaces:
- Cloneable, Iterable<Alignment.IntPair>, Writable
public class ReferenceAlignment
- extends Alignment
| Methods inherited from class edu.umd.hooka.Alignment |
align, aligned, clone, countAlignmentPoints, countNeighbors, doubleRookAligned, equals, fromGiza, getELength, getFLength, intersect, isEAligned, isFAligned, iterator, lneighborAligned, mergeEnglishWords, neighborAligned, rookAligned, splitEnglishWords, splitForeignWords, toStringVisual, unalignE, unalignF, union |
ReferenceAlignment
public ReferenceAlignment()
ReferenceAlignment
public ReferenceAlignment(int flen,
int elen)
getType
public byte getType()
- Overrides:
getType in class Alignment
sureAlign
public void sureAlign(int f,
int e)
probableAlign
public void probableAlign(int f,
int e)
isSureAligned
public boolean isSureAligned(int f,
int e)
isProbableAligned
public boolean isProbableAligned(int f,
int e)
countProbableHits
public int countProbableHits(Alignment test)
countSureHits
public int countSureHits(Alignment test)
countSureAlignmentPoints
public int countSureAlignmentPoints()
getTranspose
public Alignment getTranspose()
- Overrides:
getTranspose in class Alignment
addAlignmentPointsPharaoh
public void addAlignmentPointsPharaoh(String p)
toString
public String toString()
- Overrides:
toString in class Alignment
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields in interface Writable- Overrides:
readFields in class Alignment
- Throws:
IOException
write
public void write(DataOutput out)
throws IOException
- Specified by:
write in interface Writable- Overrides:
write in class Alignment
- Throws:
IOException
getWPT03FileIterator
public static edu.umd.hooka.alignment.aer.ReferenceAlignment.WPTFileReader getWPT03FileIterator(InputStream is)
throws IOException
- Throws:
IOException