| Copyright | (c) OleksandrZhabenko 2020-2022 |
|---|---|
| License | MIT |
| Maintainer | olexandr543@yahoo.com |
| Stability | Experimental |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
| Extensions |
|
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 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
- data MappingFunctionPL
- isPhoPaaW :: MappingFunctionPL -> Bool
- isSaaW :: MappingFunctionPL -> Bool
- fromPhoPaaW :: MappingFunctionPL -> Maybe ([[[PRS]]] -> [[Double]])
- fromSaaW :: MappingFunctionPL -> Maybe ([[[Int8]]] -> [[Double]])
- rhythmicity0i :: MappingFunctionPL -> String -> GWritingSystemPRPLX -> [(Char, Char)] -> CharPhoneticClassification -> SegmentRulesG -> String -> String -> ReadyForConstructionPL -> Double
- rhythmicity0Fi :: MappingFunctionPL -> Double -> String -> GWritingSystemPRPLX -> [(Char, Char)] -> CharPhoneticClassification -> SegmentRulesG -> String -> String -> ReadyForConstructionPL -> Double
- rhythmicityKi :: MappingFunctionPL -> Double -> Double -> String -> GWritingSystemPRPLX -> [(Char, Char)] -> CharPhoneticClassification -> SegmentRulesG -> String -> String -> ReadyForConstructionPL -> Double
- rhythmicityKFi :: MappingFunctionPL -> Double -> Double -> Double -> String -> GWritingSystemPRPLX -> [(Char, Char)] -> CharPhoneticClassification -> SegmentRulesG -> String -> String -> ReadyForConstructionPL -> Double
- rhythmicityG :: MappingFunctionPL -> ([[Double]] -> Double) -> String -> GWritingSystemPRPLX -> [(Char, Char)] -> CharPhoneticClassification -> SegmentRulesG -> String -> String -> ReadyForConstructionPL -> Double
- rhythmicity :: Double -> String -> (Double -> String -> MappingFunctionPL) -> Coeffs2 -> String -> GWritingSystemPRPLX -> [(Char, Char)] -> CharPhoneticClassification -> SegmentRulesG -> String -> String -> ReadyForConstructionPL -> Double
Mapping function data type
data MappingFunctionPL Source #
isPhoPaaW :: MappingFunctionPL -> Bool Source #
isSaaW :: MappingFunctionPL -> Bool Source #
fromPhoPaaW :: MappingFunctionPL -> Maybe ([[[PRS]]] -> [[Double]]) Source #
Rhythmicity properties (semi-empirical)
Simple one
Arguments
| :: MappingFunctionPL | A function that specifies the syllables durations, analogue of the
syllableDurationsD functions from the |
| -> String | |
| -> GWritingSystemPRPLX | Data used to obtain the phonetic language representation of the text. |
| -> [(Char, Char)] | The pairs of the |
| -> CharPhoneticClassification | The |
| -> SegmentRulesG | |
| -> String | Corresponds to the 100 delimiter in the |
| -> String | Corresponds to the 101 delimiter in the |
| -> ReadyForConstructionPL | |
| -> Double |
Arguments
| :: MappingFunctionPL | A function that specifies the syllables durations, analogue of the
syllableDurationsD functions from the |
| -> Double | |
| -> String | |
| -> GWritingSystemPRPLX | Data used to obtain the phonetic language representation of the text. |
| -> [(Char, Char)] | The pairs of the |
| -> CharPhoneticClassification | The |
| -> SegmentRulesG | |
| -> String | Corresponds to the 100 delimiter in the |
| -> String | Corresponds to the 101 delimiter in the |
| -> ReadyForConstructionPL | |
| -> Double |
With weight coefficients
Arguments
| :: MappingFunctionPL | A function that specifies the syllables durations, analogue of the
syllableDurationsD functions from the |
| -> Double | |
| -> Double | |
| -> String | |
| -> GWritingSystemPRPLX | Data used to obtain the phonetic language representation of the text. |
| -> [(Char, Char)] | The pairs of the |
| -> CharPhoneticClassification | The |
| -> SegmentRulesG | |
| -> String | Corresponds to the 100 delimiter in the |
| -> String | Corresponds to the 101 delimiter in the |
| -> ReadyForConstructionPL | |
| -> Double |
Arguments
| :: MappingFunctionPL | A function that specifies the syllables durations, analogue of the
syllableDurationsD functions from the |
| -> Double | |
| -> Double | |
| -> Double | |
| -> String | |
| -> GWritingSystemPRPLX | Data used to obtain the phonetic language representation of the text. |
| -> [(Char, Char)] | The pairs of the |
| -> CharPhoneticClassification | The |
| -> SegmentRulesG | |
| -> String | Corresponds to the 100 delimiter in the |
| -> String | Corresponds to the 101 delimiter in the |
| -> ReadyForConstructionPL | |
| -> Double |
General
Arguments
| :: MappingFunctionPL | A function that specifies the syllables durations, analogue of the
syllableDurationsD functions from the |
| -> ([[Double]] -> Double) | Usually some kind of flattening of the double list into a single value. |
| -> String | The starting |
| -> GWritingSystemPRPLX | Data used to obtain the phonetic language representation of the text. |
| -> [(Char, Char)] | The pairs of the |
| -> CharPhoneticClassification | The |
| -> SegmentRulesG | |
| -> String | Corresponds to the 100 delimiter in the |
| -> String | Corresponds to the 101 delimiter in the |
| -> ReadyForConstructionPL | |
| -> Double |
Arguments
| :: Double | |
| -> 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 version 0.3.0.0 you can also use "w" or "x"-based lines. Specifies the applied properties to get the result. The "z"-line uses 'F' functions. |
| -> (Double -> String -> MappingFunctionPL) | The function that is needed in the |
| -> Coeffs2 | |
| -> String | |
| -> GWritingSystemPRPLX | Data used to obtain the phonetic language representation of the text. |
| -> [(Char, Char)] | The pairs of the |
| -> CharPhoneticClassification | The |
| -> SegmentRulesG | |
| -> String | |
| -> String | |
| -> ReadyForConstructionPL | |
| -> Double |