| Copyright | (c) OleksandrZhabenko 2020-2022 |
|---|---|
| License | MIT |
| Maintainer | olexandr543@yahoo.com |
| Stability | Experimental |
| Safe Haskell | Safe-Inferred |
| 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.
Synopsis
- argsToGetInfoProcessment :: (Double -> String -> MappingFunctionPL) -> (String -> String) -> [MappingFunctionPL] -> IO ()
- files4ArgsProcessment :: PermutationsType -> FilePath -> FilePath -> FilePath -> FilePath -> FilePath -> (Double -> String -> MappingFunctionPL) -> [MappingFunctionPL] -> [String] -> (String -> String) -> IO ()
- aSpecs :: CLSpecifications
- aSpcs :: [String] -> Args
- cSpecs1 :: CLSpecifications
- fstCharsM :: FirstChars
- bSpecs :: CLSpecifications
- bSpcs :: [String] -> Args
- specs1 :: CLSpecifications
Documentation
argsToGetInfoProcessment Source #
Arguments
| :: (Double -> String -> MappingFunctionPL) | The function that is needed in the |
| -> (String -> String) | A function that specifies what |
| -> [MappingFunctionPL] | |
| -> IO () |
The first 5 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). These are to be prepended to the next word.
5) 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). These are to be appended to the previous word.
files4ArgsProcessment Source #
Arguments
| :: PermutationsType | Whether to use just one of the express permutations, or the full universal set. |
| -> 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 |
| -> FilePath | With the |
| -> (Double -> String -> MappingFunctionPL) | The function that is needed in the |
| -> [MappingFunctionPL] | A list of |
| -> [String] | List of other command line arguments |
| -> (String -> String) | A function that specifies what |
| -> IO () |