public class Allophone extends Object
Constructor and Description |
---|
Allophone(Element a,
String[] featureNames)
Create a new Allophone object from the given XML Element
|
Modifier and Type | Method and Description |
---|---|
String |
getFeature(String feat)
Return the feature with name feat.
|
Map<String,String> |
getFeatures()
Get the key-value map of features and feature values for this allophone.
|
boolean |
isAffricate() |
boolean |
isConsonant() |
boolean |
isDiphthong() |
boolean |
isFricative() |
boolean |
isGlide() |
boolean |
isLiquid() |
boolean |
isNasal() |
boolean |
isPause() |
boolean |
isPlosive() |
boolean |
isSonorant() |
boolean |
isSyllabic() |
boolean |
isTone()
Whether the Allophone object represents a tone symbol.
|
boolean |
isVoiced() |
boolean |
isVowel() |
String |
name() |
int |
sonority() |
String |
toString() |
public Allophone(Element a, String[] featureNames)
a
- the allophone definition elementfeatureNames
- the names of features to use for defining the allophoneIllegalArgumentException
- if a is not as expectedpublic String name()
public boolean isVowel()
public boolean isDiphthong()
public boolean isSyllabic()
public boolean isConsonant()
public boolean isVoiced()
public boolean isSonorant()
public boolean isLiquid()
public boolean isNasal()
public boolean isGlide()
public boolean isFricative()
public boolean isPlosive()
public boolean isAffricate()
public boolean isPause()
public boolean isTone()
public int sonority()
public Map<String,String> getFeatures()
public String getFeature(String feat)
feat
- featCopyright © 2000–2016 DFKI GmbH. All rights reserved.