Package nzilbb.encoding
Class SAMPA2DISC
- java.lang.Object
-
- nzilbb.encoding.PhonemeTranslator
-
- nzilbb.encoding.SAMPA2DISC
-
- All Implemented Interfaces:
Function<String,String>
,UnaryOperator<String>
public class SAMPA2DISC extends PhonemeTranslator
Translates SAMPA-encoded phonemic transcriptions like streIndZ to CELEX-DISC-encoded transcriptions like str1n_.Mapping SAMPA DISC Vowels i: → i A: → # O: → $ u: → u 3: → 3 eI → 1 aI → 2 OI → 4 @U → 5 aU → 6 I@ → 7 E@ → 8 U@ → 9 {~ → c A~: → q {~: → 0 O~: → ~ Consonants tS → J dZ → _ N, → C m, → F n, → H l, → P r* → R - Author:
- Robert Fromont robert@fromont.net.nz
- See Also:
DISC2SAMPA
-
-
Constructor Summary
Constructors Constructor Description SAMPA2DISC()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
apply(String source)
Translates a phonemic transcription from the source encoding to the destination encoding.-
Methods inherited from class nzilbb.encoding.PhonemeTranslator
getDestinationEncoding, getSourceEncoding
-
-