| Copyright | (c) Oleksandr Zhabenko 2020-2023 |
|---|---|
| License | MIT |
| Maintainer | oleksandr.zhabenko@yahoo.com |
| Stability | Experimental |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
| Extensions |
|
Phladiprelio.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 Phladiprelio.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 :: Factors -> 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 :: Factors -> 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 :: Factors -> 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
| :: Factors | |
| -> 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
| :: Factors | |
| -> 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
| :: Factors | |
| -> Double | |
| -> String | The "f"-line uses 'F' functions since the version 0.13.0.0. |
| -> (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 |