Class PhonexMatcherReference
java.lang.Object
ca.phon.ipa.IPAElement
ca.phon.ipa.PhonexMatcherReference
- All Implemented Interfaces:
IExtendable,CombiningDiacritics,PrefixDiacritics,SuffixDiacritics,Visitable<IPAElement>
public class PhonexMatcherReference
extends IPAElement
implements PrefixDiacritics, SuffixDiacritics, CombiningDiacritics
A special type of IPAElement which represents a
reference to a phonex group. This is used during
phonex replacement only.
-
Constructor Summary
ConstructorsConstructorDescriptionPhonexMatcherReference(Integer groupIndex) PhonexMatcherReference(String groupName) PhonexMatcherReference(String groupName, Integer groupIndex, Diacritic[] prefixDiacritics, Diacritic[] combiningDiacritics, Diacritic[] suffixDiacritics) -
Method Summary
Modifier and TypeMethodDescriptionprotected FeatureSetPrivate method to return the feature set for theIPAElement.Get the string for the combining diacritic portion of the phone.Get the combining diacritics for the phone.intGet the string representing this phone's prefix.Get the string for this phone's suffix.getText()Get the text for this phoneMethods inherited from class ca.phon.ipa.IPAElement
accept, constituentType, featureSet, getExtension, getExtensions, isDiphthong, overrideFeatureSet, putExtension, removeExtension, segregated, sonority, sonorityDistance, stress, syllableIndex, syllableInfo, tone, toString
-
Constructor Details
-
PhonexMatcherReference
-
PhonexMatcherReference
-
PhonexMatcherReference
-
-
Method Details
-
getGroupIndex
public int getGroupIndex() -
getGroupName
-
getPrefixDiacritics
- Specified by:
getPrefixDiacriticsin interfacePrefixDiacritics
-
getPrefix
Get the string representing this phone's prefix.- Returns:
- the prefix string
-
getCombiningDiacritics
Get the combining diacritics for the phone.
- Specified by:
getCombiningDiacriticsin interfaceCombiningDiacritics- Returns:
- the combining diacritics, or an empty array if no combining diacritics are available.
-
getCombining
Get the string for the combining diacritic portion of the phone.- Returns:
- the combining diacritic string
-
getSuffixDiacritics
- Specified by:
getSuffixDiacriticsin interfaceSuffixDiacritics
-
getSuffix
Get the string for this phone's suffix.- Returns:
- the text for the suffix portion of the Phone
-
_getFeatureSet
Description copied from class:IPAElementPrivate method to return the feature set for theIPAElement.- Specified by:
_getFeatureSetin classIPAElement- Returns:
- the feature set for the implementing type.
-
getText
Description copied from class:IPAElementGet the text for this phone- Specified by:
getTextin classIPAElement- Returns:
- the phone string
-