| Copyright | (c) OleksandrZhabenko 2020-2021 |
|---|---|
| License | MIT |
| Maintainer | olexandr543@yahoo.com |
| Stability | Experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
| Extensions |
|
Phonetic.Languages.General.GetInfo.Parsing
Description
Can be used to analyze a poetic text in a phonetic language, for every line printing statistic data.
Documentation
argsToGetInfoProcessment Source #
Arguments
| :: (Double -> String -> [[[PRS]]] -> [[Double]]) | The function that is needed in the |
| -> [[[[PRS]]] -> [[Double]]] | A list of 4 different functions that specifies the syllables durations, analogues of the
syllableDurationsD functions from the |
| -> IO () |
The first 4 arguments are the file names with the specifications.
1) with the GWritingSystemPRPLX specifications only (see the gwrsysExample.txt file in the phonetic-languages-phonetics-basics package as a schema);
2) with the 5 meaningful lines that are delimited with the '~' line one from another with the specifications for the possible allophones (if any), CharPhoneticClassification, white spaces information (two Strings) and the String of all the possible PLL Chars;
3) with the SegmentRulesG specifications only;
4) with the Concatenations specifications only (see the data in the EnglishConcatenated.txt file in the phonetic-languages-phonetics-basics package as a list of English equivalents of the needed Strings).
files4ArgsProcessment Source #
Arguments
| :: FilePath | With the |
| -> FilePath | With the 5 meaningful lines that are delimited with the '~' line one from another with the specifications for the possible allophones (if any), |
| -> FilePath | With the |
| -> FilePath | With the |
| -> (Double -> String -> [[[PRS]]] -> [[Double]]) | The function that is needed in the |
| -> [[[[PRS]]] -> [[Double]]] | A list of 4 different functions that specifies the syllables durations, analogues of the
syllableDurationsD functions from the |
| -> [String] | List of other command line arguments |
| -> IO () |