Class HarmonyDetectorResult
java.lang.Object
ca.phon.query.detectors.DetectorResult
ca.phon.query.detectors.HarmonyDetectorResult
- All Implemented Interfaces:
IExtendable
-
Field Summary
Fields inherited from class ca.phon.query.detectors.DetectorResult
pos1, pos2 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the length of the harmony.Deprecated.Get neutralized profile for harmonyDeprecated.Get the shared profile for the harmonybooleanCheck to see if this harmony goes from left to right or from right to left (progressive or regressive).voidsetNeutralizedFeatures(FeatureSet features) Deprecated.voidsetNeutralizedProfile(PhoneticProfile profile) Set neutralized profile for harmonyvoidsetSharedFeatures(FeatureSet features) Deprecated.voidsetSharedProfile(PhoneticProfile profile) Set the shared profile for the harmonytoString()/ String lookFor = (type == DetectorResultType.VowelHarmony ? "Vowel" : "Consonant");Methods inherited from class ca.phon.query.detectors.DetectorResult
getExtension, getExtensions, getFirstPosition, getPhoneMap, getSecondPosition, putExtension, removeExtension, setFirstPosition, setSecondPosition
-
Constructor Details
-
HarmonyDetectorResult
-
-
Method Details
-
getLength
public int getLength()Get the length of the harmony.- Returns:
- the length
-
getNeutralizedProfile
-
setNeutralizedProfile
Set neutralized profile for harmony- Parameters:
profile-
-
getNeutralizedFeatures
Deprecated.Get the neutralized features affected by the harmony.- Returns:
- the feature
-
setNeutralizedFeatures
Deprecated.Set the neutralized features affected by the harmony.- Parameters:
features- the new set of features
-
isLeftToRight
public boolean isLeftToRight()Check to see if this harmony goes from left to right or from right to left (progressive or regressive).- Returns:
- true if left-to-right, false otherwise
-
toString
-