Package ca.phon.query.detectors
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
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the length of the harmony.Deprecated.Get neutralized profile for harmonyDeprecated.Get the shared profile for the harmonyboolean
Check to see if this harmony goes from left to right or from right to left (progressive or regressive).void
setNeutralizedFeatures
(FeatureSet features) Deprecated.void
setNeutralizedProfile
(PhoneticProfile profile) Set neutralized profile for harmonyvoid
setSharedFeatures
(FeatureSet features) Deprecated.void
setSharedProfile
(PhoneticProfile profile) Set the shared profile for the harmonytoString()
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
Get neutralized profile for harmony- Returns:
-
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
-