phladiprelio-general-simple-0.10.0.0: A generalized functionality of PhLADiPreLiO for different languages that uses hash algorithms.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Phladiprelio.General.Simple

Synopsis

Documentation

generalF Source #

Arguments

:: (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.

-> GWritingSystemPRPLX

Data used to obtain the phonetic language representation of the text.

-> [(Char, Char)]

The pairs of the Char that corresponds to the similar phonetic languages consonant phenomenon (e. g. allophones). Must be sorted in the ascending order to be used correctly.

-> CharPhoneticClassification 
-> SegmentRulesG 
-> String

Corresponds to the 100 delimiter in the ukrainian-phonetics-basic-array package.

-> String

Corresponds to the 101 delimiter in the ukrainian-phonetics-basic-array package.

-> ([[[PRS]]] -> [[Double]]) 
-> Int 
-> HashCorrections 
-> (Int8, [Int8]) 
-> Bool 
-> Int

The hashing function step. The default value is 20. Is expected to be greater than 2, and better greater than 12.

-> Bool 
-> Int8 
-> (FilePath, Int) 
-> Bool

In the testing mode, whether to execute computations in concurrent mode (for speed up) or in single thread. If specified needs the executable to be compiled with -rtsopts and -threaded options and run with the command line +RTS -N -RTS options.

-> String

An initial string to be analyzed.

-> [String] 
-> IO [String] 

countSyll Source #

Arguments

:: GWritingSystemPRPLX

Data used to obtain the phonetic language representation of the text.

-> CharPhoneticClassification 
-> String

Corresponds to the 100 delimiter in the ukrainian-phonetics-basic-array package.

-> String

Corresponds to the 101 delimiter in the ukrainian-phonetics-basic-array package.

-> String 
-> Int 

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

argsProcessing Source #

Arguments

:: [[String]] 
-> [[String]] 
-> String 
-> IO (String, String, Int, Bool, Int8, FilePath, Int, Bool, String, [String])

These ones are intended to be used inside generalF.

Uses getArgs inside to get the needed data from the command line arguments. Use with this in mind.

processingF Source #

Arguments

:: GWritingSystemPRPLX

Data used to obtain the phonetic language representation of the text.

-> [(Char, Char)]

The pairs of the Char that corresponds to the similar phonetic languages consonant phenomenon (e. g. allophones). Must be sorted in the ascending order to be used correctly.

-> CharPhoneticClassification 
-> SegmentRulesG 
-> String

Corresponds to the 100 delimiter in the ukrainian-phonetics-basic-array package.

-> String

Corresponds to the 101 delimiter in the ukrainian-phonetics-basic-array package.

-> ([[[PRS]]] -> [[Double]]) 
-> Int 
-> HashCorrections 
-> (Int8, [Int8]) 
-> [[String]] 
-> [[String]] 
-> Bool 
-> Int

The hashing function step. The default value is 20. Is expected to be greater than 2, and better greater than 12.

-> String 
-> IO () 

cSpecs :: CLSpecifications Source #

Specifies the group of the command line arguments for processingF, which specifies the PhLADiPreLiO constraints. For more information, see: https://oleksandr-zhabenko.github.io/uk/rhythmicity/PhLADiPreLiO.Eng.21.html#constraints