phladiprelio-general-datatype-0.10.1.0: Extended functionality of PhLADiPreLiO
Copyright(c) OleksandrZhabenko 2023-2024
LicenseMIT
Maintaineroleksandr.zhabenko@yahoo.com
StabilityExperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Phladiprelio.General.Datatype3

Description

 
Synopsis

Documentation

data Read0 Source #

Instances

Instances details
Show Read0 Source # 
Instance details

Defined in Phladiprelio.General.Datatype3

Methods

showsPrec :: Int -> Read0 -> ShowS #

show :: Read0 -> String #

showList :: [Read0] -> ShowS #

Eq Read0 Source # 
Instance details

Defined in Phladiprelio.General.Datatype3

Methods

(==) :: Read0 -> Read0 -> Bool #

(/=) :: Read0 -> Read0 -> Bool #

readU2 :: String -> Double Source #

Is a way to read duration of the additional added time period into the line.

readSimple3 Source #

Arguments

:: (String -> Bool)

A special function to check whether the String contains needed information. Must return True for the String that contains the needed for usual processment information, otherwise — False.

-> Double 
-> (String -> [Word8]) 
-> Seq Read0

Is should be obtained using basicSplit function here.

-> [Word8] 

basicSplit :: String -> Seq Read0 Source #

A preparatory function for the further ones here.

line2Strings Source #

Arguments

:: (String -> Bool)

A special function to check whether the String contains needed information. Must return True for the String that contains the needed for usual processment information, otherwise — False.

-> (String -> [String]) 
-> Seq Read0

Is should be obtained using basicSplit function here.

-> [String] 

read3 Source #

Arguments

:: (String -> Bool)

A special function to check whether the String contains needed information. Must return True for the String that contains the needed for usual processment information, otherwise — False.

-> Double 
-> (String -> [Word8]) 
-> String 
-> [Word8] 

readEq4G Source #

Arguments

:: (String -> Bool)

A special function to check whether the String contains needed information. Must return True for the String that contains the needed for usual processment information, otherwise — False.

-> (String -> [Word8]) 
-> (String -> [String]) 
-> Seq Read0

Is should be obtained using basicSplit function here.

-> [(String, Word8)] 

Is intended to be used in the "music" mode for PhLADiPreLiO.

readEq4 Source #

Arguments

:: (String -> [Word8]) 
-> (String -> [String]) 
-> Seq Read0

Is should be obtained using basicSplit function here.

-> [(String, Word8)] 

zippedDouble2Word8 :: (Fractional b, Num b, Enum b, Ord b) => [(a, b)] -> [(a, b)] Source #

Is intended to be used to transform the earlier data for PhLADiPreLiO representations durations from Double to Word8 values. It was used during the transition from the ukrainian-phonetics-basic-array-0.7.1.1 to ukrainian-phonetics-basic-array-0.10.0.0.