phonetic-languages-simplified-examples-array-0.14.1.0: Helps to create Ukrainian texts with the given phonetic properties.
Copyright(c) OleksandrZhabenko 2021
LicenseMIT
Maintainerolexandr543@yahoo.com
StabilityExperimental
Safe HaskellNone
LanguageHaskell2010

Phonetic.Languages.Simplified.Array.Ukrainian.ReadProperties

Description

Functions to read the properties data from the files with the special Haskell-like syntaxis.

Synopsis

Documentation

readUZPP2ToDouble :: String -> (Double, [(UZPP2, Double)]) Source #

"[UZ 'A' D, UZ 'A' K, UZ 'B' D, UZ 'B' K, UZ 'C' S, UZ 'D' N, UZ 'E' L, UZ 'E' M, UZ 'F' L, UZ 'F' M, UZ 'a' W, UZ 'b' D, UZ 'b' K, UZ 'c' D, UZ 'd' D, UZ 'd' K, UZ 'e' W, UZ 'f' L, UZ 'f' M, UZ 'g' D, UZ 'g' K, UZ 'h' D, UZ 'h' K, UZ 'i' W, UZ 'j' D, UZ 'j' K, UZ 'k' L, UZ 'k' M, UZ 'l' S, UZ 'l' O, UZ 'm' S, UZ 'm' O, UZ 'n' S, UZ 'n' O, UZ 'o' W, UZ 'p' L, UZ 'p' M, UZ 'q' E, UZ 'r' S, UZ 'r' O, UZ 's' L, UZ 't' L, UZ 't' M, UZ 'u' W, UZ 'v' S, UZ 'v' O, UZ 'w' N, UZ 'x' L, UZ 'x' M, UZ 'y' W, UZ 'z' D, UZ 'z' K]" The first number is the default value that corresponds usually to the word gap duration (and here is not important). The next 52 Double numbers become the durations of the above specified UZPP2 values respectively, the order must be preserved (if you consider it important, well, it should be!). If some number in the file cannot be read as a Double number the function uses the first one that can be instead (the default value). If no such is specified at all, then the default number is 1.0 for all the UZPP2 sound representations that is hardly correct.