Package ca.phon.ipa.alignment
Class SyllableAligner
- All Implemented Interfaces:
Aligner<IPATranscript>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncalculateSyllableAlignment
(IPATranscript ipaTarget, IPATranscript ipaActual, PhoneMap phoneMap) protected int
protected int
costSubstitute
(IPATranscript t1, IPATranscript t2) Return the similarity between two elementsvoid
setPhoneAlignment
(PhoneMap phoneAlignment) Methods inherited from class ca.phon.alignment.IndelAligner
calculateAlignment, getAlignmentMap, retrieveAlignment
-
Constructor Details
-
SyllableAligner
public SyllableAligner()
-
-
Method Details
-
costSubstitute
Description copied from class:IndelAligner
Return the similarity between two elements- Specified by:
costSubstitute
in classIndelAligner<IPATranscript>
- Returns:
-
costSkip
- Specified by:
costSkip
in classIndelAligner<IPATranscript>
-
getPhoneAlignment
-
setPhoneAlignment
-
calculateSyllableAlignment
public SyllableMap calculateSyllableAlignment(IPATranscript ipaTarget, IPATranscript ipaActual, PhoneMap phoneMap)
-