Copyright | (c) OleksandrZhabenko 2020 |
---|---|
License | MIT |
Stability | Experimental |
Safe Haskell | None |
Language | Haskell2010 |
Maintainer : olexandr543@yahoo.com
Helps to order the 7 or less Ukrainian words (or their concatenations) to obtain (to some extent) suitable for poetry or music text. In particular, this module can be used to prepare the Ukrainian text by applying the most needed grammar to avoid misunderstanding for the produced text. The attention is paid to the pronouns, conjunctions and particles that are most commonly connected in a significant way with the next text. Uses the information from: https://uk.wikipedia.org/wiki/%D0%A1%D0%BF%D0%BE%D0%BB%D1%83%D1%87%D0%BD%D0%B8%D0%BA and https://uk.wikipedia.org/wiki/%D0%A7%D0%B0%D1%81%D1%82%D0%BA%D0%B0_(%D0%BC%D0%BE%D0%B2%D0%BE%D0%B7%D0%BD%D0%B0%D0%B2%D1%81%D1%82%D0%B2%D0%BE)
Synopsis
- prepareText :: String -> [String]
- complexWords :: [String] -> [String]
- splitLines :: [String] -> [String]
- auxiliary1 :: [String] -> [String]
- isPronoun :: String -> Bool
- isConcatenated :: String -> Bool
- concatenated2 :: [String] -> [String]
- isSpC :: Char -> Bool
- jottedConv :: String -> String
Documentation
prepareText :: String -> [String] Source #
Is used to convert a Ukrainian text into list of String
each of which is ready to be
used by the functions from the other modules in the package.
It applies minimal grammar links and connections between the most commonly used Ukrainian
words that "should" be paired and not dealt with separately
to avoid the misinterpretation and preserve maximum of the semantics for the
"phonetic" language on the Ukrainian basis.
complexWords :: [String] -> [String] Source #
splitLines :: [String] -> [String] Source #
auxiliary1 :: [String] -> [String] Source #
isConcatenated :: String -> Bool Source #
concatenated2 :: [String] -> [String] Source #
jottedConv :: String -> String Source #