Class Kirshenbaum2DISC

  • All Implemented Interfaces:
    Function<String,​String>, UnaryOperator<String>

    public class Kirshenbaum2DISC
    extends PhonemeTranslator
    Translates Kirshenbaum-encoded phonemic transcriptions like tr&nskrIpS@n to CELEX-DISC-encoded transcriptions like tr{nskrIpS@n.
    Mapping
    KirshenbaumDISC
    Vowels
    & {
    i: i
    A: #
    A. Q
    O: $
    u: u
    V\" 3
    eI 1
    aI 2
    OI 4
    @U 5
    aU 6
    I@ 7
    E@ 8
    U@ 9
    &~ c
    A~: q
    &~: 0
    A.~: ~
    Consonants
    tS J
    dZ _
    r* R
    N- C
    m- F
    n- H
    l- P
    Author:
    Robert Fromont robert@fromont.net.nz
    See Also:
    DISC2SAMPA
    • Constructor Detail

      • Kirshenbaum2DISC

        public Kirshenbaum2DISC()
        Default constructor.
    • Method Detail

      • apply

        public String apply​(String source)
        Translates a phonemic transcription from the source encoding to the destination encoding.
        Specified by:
        apply in interface Function<String,​String>
        Overrides:
        apply in class PhonemeTranslator
        Parameters:
        source - Phonemic transcription in the source encoding.
        Returns:
        Phonemic transcription in the destination encoding.