phonetic-languages-simplified-generalized-examples-array-0.5.0.0: Helps to create texts with the given phonetic properties (e. g. poetic).
Copyright(c) OleksandrZhabenko 2020-2021
LicenseMIT
Maintainerolexandr543@yahoo.com
StabilityExperimental
Safe HaskellNone
LanguageHaskell2010

Phonetic.Languages.Simplified.Array.General.FuncRep2RelatedG2

Description

Functions to choose from the FuncRep2 variants for the general phonetic languages approach.

Synopsis

Documentation

chooseMax Source #

Arguments

:: Ord c 
=> GWritingSystemPRPLX

Data used to obtain the phonetic language representation of the text.

-> [(Char, Char)]

The pairs of the Char that corresponds to the similar phonetic languages consonant phenomenon (e. g. allophones). Must be sorted in the ascending order to be used correctly.

-> CharPhoneticClassification

The Array Int PRS must be sorted in the ascending order to be used in the module correctly.

-> SegmentRulesG 
-> String

Corresponds to the '0' symbol delimiter in the ukrainian-phonetics-basic-array package.

-> String

Corresponds to the '1' and '-' symbol delimiters in the ukrainian-phonetics-basic-array package.

-> (Double -> c) 
-> (Double -> String -> [[[PRS]]] -> [[Double]])

The function that is needed in the procRhythmicity23F function. Specifies a way how the syllables represented in the phonetic language approach transforms into their durations and depends on two parameters.

-> Coeffs2 
-> [[[[PRS]]] -> [[Double]]]

A list of 4 different functions that specifies the syllables durations, analogues of the syllableDurationsD functions from the ukrainian-phonetics-basics-array package. The last one must be probably the most exact one and, therefore, the default one.

-> String

Is intended to be one of the following strings: "02y", "02z", "03y", "03z", "04y", "04z", "0y", "0z", "y", "y0", "y2", "y3", "y4", "yy", "yy2", "yy3", "z", "z2", "z3", "z4", "zz", "zz2", "zz3", "zz4" or some other one (that is the default one). Since the 0.5.0.0 version you can use also "w" and "x"-based lines of properties. Specifies the applied properties to get the result. The "z"-line uses 'F' functions.

-> FuncRep2 String Double c 

Allows to choose the variant of the computations in case of usual processment. The coefficient 1.3 (anyway, it must be greater than 1.0) )is an empirical and approximate, you can use your own if you like.

chooseMaxG Source #

Arguments

:: Ord c 
=> Double

Must be greater than 1.0 though it is not checked.

-> GWritingSystemPRPLX

Data used to obtain the phonetic language representation of the text.

-> [(Char, Char)]

The pairs of the Char that corresponds to the similar phonetic languages consonant phenomenon (e. g. allophones). Must be sorted in the ascending order to be used correctly.

-> CharPhoneticClassification

The Array Int PRS must be sorted in the ascending order to be used in the module correctly.

-> SegmentRulesG 
-> String

Corresponds to the '0' symbol delimiter in the ukrainian-phonetics-basic-array package.

-> String

Corresponds to the '1' and '-' symbol delimiters in the ukrainian-phonetics-basic-array package.

-> (Double -> c) 
-> (Double -> String -> [[[PRS]]] -> [[Double]])

The function that is needed in the procRhythmicity23F function. Specifies a way how the syllables represented in the phonetic language approach transforms into their durations and depends on two parameters.

-> Coeffs2 
-> [[[[PRS]]] -> [[Double]]]

A list of 4 different functions that specifies the syllables durations, analogues of the syllableDurationsD functions from the ukrainian-phonetics-basics-array package. The last one must be probably the most exact one and, therefore, the default one.

-> String

Is intended to be one of the following strings: "02y", "02z", "03y", "03z", "04y", "04z", "0y", "0z", "y", "y0", "y2", "y3", "y4", "yy", "yy2", "yy3", "z", "z2", "z3", "z4", "zz", "zz2", "zz3", "zz4" or some other one (that is the default one). Since the 0.5.0.0 version you can use also "w" and "x"-based lines of properties. Specifies the applied properties to get the result. The "z"-line uses 'F' functions.

-> FuncRep2 String Double c 

Allows to choose the variant of the computations in case of usual processment.

precChoice Source #

Arguments

:: String

Is intended to be one of the following strings: "02y", "02z", "03y", "03z", "04y", "04z", "0y", "0z", "y", "y0", "y2", "y3", "y4", "yy", "yy2", "yy3", "z", "z2", "z3", "z4", "zz", "zz2", "zz3", "zz4" or some other one (that is the default one). Since the 0.5.0.0 version you can use also "w" and "x"-based lines of properties. Specifies the applied properties to get the result. The "z"-line uses 'F' functions.

-> Maybe Int 

Allows to choose precision in the Numeric.showFDouble function being given a choice parameter.