mmsyn7s-0.2.0.0: Shows a sorted list of the Ukrainian sounds representations that can be used by mmsyn7 series of programs

Copyright(c) OleksandrZhabenko 2020
LicenseMIT
Maintainerolexandr543@yahoo.com
Safe HaskellNone
LanguageHaskell2010

MMSyn7s

Contents

Description

A program and a library that show a sorted list of the Ukrainian sounds representations that can be used by mmsyn7 series of programs.

Synopsis

Used in the program

main7s :: IO () Source #

Function takes Ukrainian text being written without quotes as command line arguments and prints the sorted list of the Ukrainian sounds representations that can be used further in mmsyn7 series of programs.

Library functions

For the text as a whole object

show7s :: String -> [String] Source #

Function takes Ukrainian text being a String and returns a sorted list of the Ukrainian sounds representations that can be used further in mmsyn7 series of programs.

show7s2 :: String -> String Source #

Function takes Ukrainian text being a String and returns a String that shows a sorted list of the Ukrainian sounds representations that can be used further in mmsyn7 series of programs.

For the text being treated as partial one

show7s' :: [String] -> ([String], [String]) Source #

Function show7s' is auxiliary to the show7s3 and is used internally in the latter one.

show7s3 :: String -> ([String], [String]) Source #

Function show7s3 takes Ukrainian text being a String and returns a tuple, the first element of which is a list of Strings that correspond to the Ukrainian sounds representations that (except pauses) are unique and are not repeated starting from the beginning of the given text, and the second one is a remainder list of Strings starting from the first duplicated non-silent Ukrainian sound representation.

Inner predicate (auxiliary)

eqSnds :: String -> String -> Bool Source #

Function eqSnds compares two non-silent Strings representations for Ukranianian sounds by equality. If one of them is a representation for silence (e. g. pause), then the predicate is False.