ukrainian-phonetics-basic-array-0.5.3.0: A library to work with the basic Ukrainian phonetics and syllable segmentation.
Copyright(c) OleksandrZhabenko 2021-2022
LicenseMIT
Maintainerolexandr543@yahoo.com
Safe HaskellNone
LanguageHaskell2010
ExtensionsBangPatterns

Melodics.Ukrainian.ArrInt8

Description

Functions provide functionality of a musical instrument synthesizer or for Ukrainian speech synthesis especially for poets, translators and writers. Is rewritten from the module Melodics.ByteString.Ukrainian.Arr for optimization purposes. Phonetic material is taken from the :

Solomija Buk, Ján Mačutek, Andrij Rovenchak. Some properties of the Ukrainian writing system. [Electronic resource] https://arxiv.org/ftp/arxiv/papers/0802/0802.4198.pdf

Synopsis

Basic functions

type Sound8 = Int8 Source #

Is used to signify the optimization data type of Int8.

convertToProperUkrainianI8WithTuples :: Array Int (Int8, Bool) -> Array Int (Int8, Bool) -> Array Int (Int8, Bool) -> Array Int (Int8, Bool) -> Array Int ([Int8], Bool) -> Array Int ([Int8], Int8) -> Array Int (Int8, FlowSound -> Sound8) -> Array Int (Int8, Bool) -> Array Int ([Int8], Bool) -> Array Int ([Int8], Bool) -> Array Int ([Int8], Bool) -> Array Int (Int8, [Int8]) -> Array Int (Char, Int8) -> Array Int (Int8, [Int8]) -> Array Int (Char, Bool) -> Array Int (Char, Bool) -> [Char] -> FlowSound Source #

A full variant of the convertToProperUkrainianI8 function with all the elements for the getBFst' function being provided as Array Int (data tuple). Can be useful to reduce number of calculations in the complex usage scenarios.

convertToProperUkrainianI8 :: String -> FlowSound Source #

The function that uses the following correspondence between the previous data type UZPP2 and the Sound8. UZ 'A' D дз (plain) 8 UZ 'A' K дз (palatalized) 9 UZ 'B' D ж (plain) 10 UZ 'B' K ж (semi-palatalized) 11 UZ 'C' S й 27 UZ 'D' N сь 54 UZ 'E' L ч (plain) 39 UZ 'E' M ч (semi-palatalized) 40 UZ 'F' L ш (plain) 41 UZ 'F' M ш (semi-palatalized) 42 G 55 H 56 I 57 J 58 K 59 L 60 M 61 N нт 62 O ст 63 P ть 64 Q дзь 12 R зь 13 S нь 65 T дь 14 UZ 'a' W а 1 UZ 'b' D б (plain) 15 UZ 'b' K б (semi-palatalized) 16 UZ 'c' D ц (plain) 38 UZ 'd' D д (plain) 17 UZ 'd' K д (palatalized) 18 UZ 'e' W е 2 UZ 'f' L ф (plain) 43 UZ 'f' M ф (semi-palatalized) 44 UZ 'g' D ґ (plain) 19 UZ 'g' K ґ (semi-palatalized) 20 UZ 'h' D г (plain) 21 UZ 'h' K г (semi-palatalized) 22 UZ 'i' W і 6 UZ 'j' D дж (plain) 23 UZ 'j' K дж (palatalized) 24 UZ 'k' L к (plain) 45 UZ 'k' M к (semi-palatalized) 46 UZ 'l' S л (plain) 28 UZ 'l' O л (palatalized) 29 UZ 'm' S м (plain) 30 UZ 'm' O м (semi-palatalized) 31 UZ 'n' S н (plain) 32 UZ 'n' O н (palatalized) 33 UZ 'o' W о 3 UZ 'p' L п (plain) 47 UZ 'p' M п (semi-palatalized) 48 UZ 'q' E ь 7 UZ 'r' S р (plain) 34 UZ 'r' O р (palatalized) 35 UZ 's' L с (plain) 49 UZ 't' L т (plain) 50 UZ 't' M т (palatalized) 51 UZ 'u' W у 4 UZ 'v' S в (plain) 36 UZ 'v' O в (semi-palatalized) 37 UZ 'w' N ць 66 UZ 'x' L х (plain) 52 UZ 'x' M х (semi-palatalized) 53 UZ 'y' W и 5 UZ 'z' D з (plain) 25 UZ 'z' K з (palatalized) 26

linkFileNameI8 :: Sound8 -> Char Source #

Can be used to map the Sound8 representation and the mmsyn6ukr-array files with some recordings.

Transformation functions