phladiprelio-ukrainian-simple-0.12.1.0: A PhLADiPreLiO implementation for Ukrainian that uses hashes and asynchronous concurrency.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Phladiprelio.Ukrainian.IO

Synopsis

Documentation

generalF Source #

Arguments

:: Bool

If True then adds "br" to line endings for double column output

-> FilePath

A path to the file to save double columns output to. If empty then just prints to stdout.

-> String

If not null than instead of rhythmicity evaluation using hashes and and feets, there is computed a diversity property for the specified String here using the selectSounds function. For more information, see: 'https://oleksandr-zhabenko.github.io/uk/rhythmicity/PhLADiPreLiO.Eng.21.html#types'

-> (String, String)

If the next element is not equal to -1, then the prepending and appending lines to be displayed. Used basically for working with the multiline textual input data.

-> Int

The number of the line in the file to be read the lines from. If equal to -1 then neither reading from the file is done nor the first argument influences the processment results.

-> FilePath

The file to read the sound representation durations from.

-> Int 
-> HashCorrections 
-> (Int8, [Int8]) 
-> Int 
-> Bool 
-> Int 
-> Bool 
-> Int8 
-> (FilePath, Int) 
-> Bool

Whether to run tests concurrently or not. True corresponds to concurrent execution that can speed up the getting results but use more resources.

-> String

An initial string to be analysed.

-> [String] 
-> IO [String] 

stat1 :: Int -> (Int8, [Int8]) -> Int Source #

selectSounds :: String -> FlowSound Source #

selectSounds converts the argument after "+ul" command line argument into a list of Ukrainian sound representations that is used for evaluation of 'uniqueness periods' properties of the line. Is a modified Phonetic.Languages.Simplified.Array.Ukrainian.FuncRep2RelatedG2.parsey0Choice from the phonetic-languages-simplified-examples-array-0.21.0.0 package.