phonetic-languages-simplified-properties-array-0.11.0.0: Some properties of the data related to rhythmicity.
Copyright(c) OleksandrZhabenko 2020-2021
LicenseMIT
Maintainerolexandr543@yahoo.com
StabilityExperimental
Safe HaskellNone
LanguageHaskell2010
Extensions
  • Cpp
  • BangPatterns
  • MultiWayIf

Phonetic.Languages.Array.Ukrainian.PropertiesSyllablesG2

Description

Generalization and extension of the functionality of the DobutokO.Poetry.Norms and DobutokO.Poetry.Norms.Extended modules from the dobutokO-poetry package. Uses syllables information. Instead of the vector-related, uses just arrays.

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.Ukrainian.PropertiesSyllablesG2

Methods

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

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

Rhythmicity properties (semi-empirical)

General ones

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

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

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

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

Simple one

With weight coefficients

Rhythmicity properties from generated with r-glpk-phonetic-languages-ukrainian-durations package (since 0.2.0.0 version)

Simple one

With weight coefficients

NEW Rhythmicity properties from generated with r-glpk-phonetic-languages-ukrainian-durations package

Simple ones

With weight coefficients

General

rhythmicityG Source #

Arguments

:: ([[[UZPP2]]] -> [[Double]])

A function that specifies the syllables durations, analogue of (or one of) the syllableDurationsD functions from the ukrainian-phonetics-basics-array package.

-> String 
-> [Double] 

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

rhythmicityH :: Double -> String -> [[[[UZPP2]]] -> [[Double]]] -> Coeffs2 -> String -> Double Source #

Allows to use the user-defined custom UZPP2 durations. This is used when the first character in the second argument is 'H'.

rhythmicityH' :: Double -> String -> [[[[UZPP2]]] -> [[Double]]] -> Coeffs2 -> String -> Double Source #