public class PatPho extends Object
| Constructor and Description |
|---|
PatPho()
Creates a new
PatPho instance with a six syllablic template. |
PatPho(boolean useSixSyllables)
Creates a new
PatPho instance. |
public PatPho()
PatPho instance with a six syllablic template.public PatPho(boolean useSixSyllables)
PatPho instance. If useSixSyllables is
true, a six syllablic template will be used, otherwise a three syllbalic
template will be used.public double[] vectorize(String phoneme)
phoneme - A string representation of a phoneme using the IPA formatNullPointerException - If the requested phoneme does not have a
mappingpublic double[] vectorize(List<String> phonemes)
phonemes - A list of string phoneme representation using the IPA
formatNullPointerException - If any requested phoneme does not have a
mappingCopyright © 2012. All Rights Reserved.