phonetic-languages-simplified-generalized-properties-array-0.1.0.0: Generalization of the functionality of the phonetic-languages-simplified-properties-array.
Copyright(c) OleksandrZhabenko 2020-2021
LicenseMIT
Maintainerolexandr543@yahoo.com
StabilityExperimental
Safe HaskellNone
LanguageHaskell2010
Extensions
  • Cpp
  • BangPatterns

Phonetic.Languages.Array.General.PropertiesSyllablesG2

Description

Generalization and extension of the functionality of the DobutokO.Poetry.Norms and DobutokO.Poetry.Norms.Extended modules from the dobutokO-poetry package and more recent package phonetic-languages-simplified-properties-array. Uses syllables information. Instead of the vector-related, uses just arrays. If you use the functionality of the Phonetic.Languages.Array.Ukrainian.PropertiesSyllablesG2 module, then import it qualified (or this module) because they have many common data. Is provided as a standalone one to reduce dependencies list in general case.

Synopsis

Newtype to work with

data CoeffTwo a Source #

Constructors

CF0 
CF2 (Maybe a) (Maybe a) 

Instances

Instances details
Eq a => Eq (CoeffTwo a) Source # 
Instance details

Defined in Phonetic.Languages.Array.General.PropertiesSyllablesG2

Methods

(==) :: CoeffTwo a -> CoeffTwo a -> Bool #

(/=) :: CoeffTwo a -> CoeffTwo a -> Bool #

Rhythmicity properties (semi-empirical)

Simple one

rhythmicity0i Source #

Arguments

:: ([[[PRS]]] -> [[Double]]) 
-> GWritingSystemPRPLX 
-> [(Char, Char)] 
-> CharPhoneticClassification 
-> 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.

-> String 
-> Double 

rhythmicity0Fi Source #

Arguments

:: ([[[PRS]]] -> [[Double]]) 
-> Double 
-> GWritingSystemPRPLX 
-> [(Char, Char)] 
-> CharPhoneticClassification 
-> 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.

-> String 
-> Double 

With weight coefficients

rhythmicityKi Source #

Arguments

:: ([[[PRS]]] -> [[Double]]) 
-> Double 
-> Double 
-> GWritingSystemPRPLX 
-> [(Char, Char)] 
-> CharPhoneticClassification 
-> 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.

-> String 
-> Double 

rhythmicityKFi Source #

Arguments

:: ([[[PRS]]] -> [[Double]]) 
-> Double 
-> Double 
-> Double 
-> GWritingSystemPRPLX 
-> [(Char, Char)] 
-> CharPhoneticClassification 
-> 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.

-> String 
-> Double 

General

rhythmicityG Source #

Arguments

:: ([[[PRS]]] -> [[Double]]) 
-> ([[Double]] -> Double) 
-> GWritingSystemPRPLX 
-> [(Char, Char)] 
-> CharPhoneticClassification 
-> 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.

-> String 
-> Double 

rhythmicity :: Double -> String -> (Double -> String -> [[[PRS]]] -> [[Double]]) -> Coeffs2 -> GWritingSystemPRPLX -> [(Char, Char)] -> CharPhoneticClassification -> SegmentRulesG -> String -> String -> String -> Double Source #

It is intended to provide different functions :: Double -> String -> ([[[PRS]]] -> [[Double]]) for at least the following values: "0z", "02z", "03z", "04z", "0y", "02y", "03y" and the default one for other variants. The "z"-line uses 'F' functions.