Safe Haskell | None |
---|---|
Language | Haskell2010 |
Aftovolio.General.Simple
Synopsis
- generalF :: Int -> Int -> Compards -> Bool -> Bool -> FilePath -> String -> (String -> String) -> (String, String) -> Int -> GWritingSystemPRPLX -> [(Char, Char)] -> CharPhoneticClassification -> SegmentRulesG -> BasicSpaces -> AdditionalDelimiters -> ([[[PhoneticPhenomenonRep]]] -> [[Word8]]) -> Int -> HashCorrections -> (Int8, [Int8]) -> Int -> Bool -> Int8 -> (FilePath, Int) -> Bool -> String -> [Int] -> [String] -> IO [String]
- data AftovolioGen = S !Int !Integer !String
- countSyll :: GWritingSystemPRPLX -> CharPhoneticClassification -> BasicSpaces -> AdditionalDelimiters -> String -> Int
- stat1 :: Int -> (Int8, [Int8]) -> Int
- outputSel :: AftovolioGen -> Int -> String
- parseLineNumber :: Int -> IO Int
- argsProcessing :: GWritingSystemPRPLX -> [(Char, Char)] -> CharPhoneticClassification -> SegmentRulesG -> BasicSpaces -> AdditionalDelimiters -> ([[[PhoneticPhenomenonRep]]] -> [[Word8]]) -> [[String]] -> [[String]] -> String -> IO (Int, Int, Compards, Bool, Bool, FilePath, String, String, String, Int, Bool, Int8, FilePath, Int, Bool, String, [Int], [String])
- processingF :: (String -> String) -> GWritingSystemPRPLX -> [(Char, Char)] -> CharPhoneticClassification -> SegmentRulesG -> BasicSpaces -> AdditionalDelimiters -> ([[[PhoneticPhenomenonRep]]] -> [[Word8]]) -> Int -> HashCorrections -> (Int8, [Int8]) -> [[String]] -> [[String]] -> Int -> String -> IO ()
- cSpecs :: CLSpecifications
- bSpecs :: CLSpecifications
- selectSounds :: (String -> String) -> String -> String
- testsOutput :: (Show a1, Integral a1) => Bool -> Int -> Bool -> (Int -> Compards -> Int8 -> [Int8] -> String -> a1) -> Int -> Int -> [String] -> IO [String]
- outputWithFile :: ([[[PhoneticPhenomenonRep]]] -> [[Word8]]) -> GWritingSystemPRPLX -> [(Char, Char)] -> CharPhoneticClassification -> SegmentRulesG -> BasicSpaces -> AdditionalDelimiters -> String -> Compards -> [AftovolioGen] -> Int -> Int8 -> FilePath -> Int -> IO ()
Documentation
Arguments
:: Int | A power of 10. The resulting distance using next [ |
-> Int | A |
-> Compards | A value that the different options are compared with. If no command line argument "+di" was added, then this is a |
-> Bool | If |
-> Bool | Whether to filter out all groups of '={digits}' from the lines. |
-> FilePath | A path to the file to save double columns output to. If empty then just prints to |
-> String | If not null than instead of rhythmicity evaluation using hashes and and feets, there is computed a diversity property for the specified |
-> (String -> String) | A function that specifies what |
-> (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 |
-> CharPhoneticClassification | |
-> SegmentRulesG | |
-> BasicSpaces | Corresponds to the 100 delimiter in the |
-> AdditionalDelimiters | Corresponds to the 101 delimiter in the |
-> ([[[PhoneticPhenomenonRep]]] -> [[Word8]]) | See the conversion function |
-> Int | |
-> HashCorrections | |
-> (Int8, [Int8]) | |
-> 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. |
-> [Int] | A list of line numbers of the Aftovolio data to be displayed in the modes except tests and file appending. |
-> [String] | |
-> IO [String] |
data AftovolioGen Source #
Instances
Arguments
:: GWritingSystemPRPLX | Data used to obtain the phonetic language representation of the text. |
-> CharPhoneticClassification | |
-> BasicSpaces | Corresponds to the 100 delimiter in the |
-> AdditionalDelimiters | Corresponds to the 101 delimiter in the |
-> String | |
-> Int |
Arguments
:: GWritingSystemPRPLX | Data used to obtain the phonetic language representation of the text. |
-> [(Char, Char)] | The pairs of the |
-> CharPhoneticClassification | |
-> SegmentRulesG | |
-> BasicSpaces | Corresponds to the 100 delimiter in the |
-> AdditionalDelimiters | Corresponds to the 101 delimiter in the |
-> ([[[PhoneticPhenomenonRep]]] -> [[Word8]]) | See the conversion function |
-> [[String]] | Is intended to become a valid |
-> [[String]] | Is intended to become a valid |
-> String | |
-> IO (Int, Int, Compards, Bool, Bool, FilePath, String, String, String, Int, Bool, Int8, FilePath, Int, Bool, String, [Int], [String]) | These ones are intended to be used inside |
Uses getArgs
inside to get the needed data from the command line arguments. Use with this in
mind.
Arguments
:: (String -> String) | A function that specifies what |
-> GWritingSystemPRPLX | Data used to obtain the phonetic language representation of the text. |
-> [(Char, Char)] | The pairs of the |
-> CharPhoneticClassification | |
-> SegmentRulesG | |
-> BasicSpaces | Corresponds to the 100 delimiter in the |
-> AdditionalDelimiters | Corresponds to the 101 delimiter in the |
-> ([[[PhoneticPhenomenonRep]]] -> [[Word8]]) | See the conversion function |
-> Int | |
-> HashCorrections | |
-> (Int8, [Int8]) | |
-> [[String]] | Is intended to become a valid |
-> [[String]] | Is intended to become a valid |
-> Int | |
-> 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.ioukrhythmicityPhLADiPreLiO.Eng.21.html#constraints
Arguments
:: (String -> String) | A function that specifies what |
-> String | |
-> String |
selectSounds
converts the argument after "+ul" command line argument into a list of sound representations that is used for evaluation of 'uniqueness periods' properties of the line. Is a modified Phonetic.Languages.Simplified.Array.General.FuncRep2RelatedG2.parsey0Choice from the phonetic-languages-simplified-generalized-examples-array-0.19.0.1
package.
Arguments
:: (Show a1, Integral a1) | |
=> Bool | |
-> Int | |
-> Bool | Whether to filter out all groups of '={digits}' from the lines. |
-> (Int -> Compards -> Int8 -> [Int8] -> String -> a1) | |
-> Int | |
-> Int | |
-> [String] | |
-> IO [String] |
Internal part of the generalF
for processment in case of using tests mode.
Arguments
:: ([[[PhoneticPhenomenonRep]]] -> [[Word8]]) | See the conversion function |
-> GWritingSystemPRPLX | Data used to obtain the phonetic language representation of the text. |
-> [(Char, Char)] | The pairs of the |
-> CharPhoneticClassification | |
-> SegmentRulesG | |
-> BasicSpaces | Corresponds to the 100 delimiter in the |
-> AdditionalDelimiters | Corresponds to the 101 delimiter in the |
-> String | If not null than instead of rhythmicity evaluation using hashes and and feets, there is computed a diversity property for the specified |
-> Compards | A value that the different options are compared with. If no command line argument "+di" was added, then this is a |
-> [AftovolioGen] | |
-> Int | |
-> Int8 | |
-> FilePath | A file to be probably added output parts to. |
-> Int | |
-> IO () |
Internal part of the generalF
for processment with a file.