Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- lexTextAGreek :: String -> [String]
- lexTextAGreek2 :: String -> [String]
- unlexTextAGreek :: [String] -> String
- isAGreekPunct :: Char -> Bool
- lexAGreek :: String -> [String]
- lexAGreek2 :: String -> [String]
- unlexAGreek :: [String] -> String
- normalize :: String -> String
- fromAGreek :: [String] -> [String]
- denormalize :: String -> String
- toAGreek :: [String] -> [String]
- toGrave :: String -> String
- toAcute :: String -> String
- isAGreekVowel :: Char -> Bool
- enclitics :: [[Char]]
- proclitics :: [[Char]]
- isEnclitic :: [Char] -> Bool
- isProclitic :: [Char] -> Bool
- wasEnclitic :: [Char] -> Bool
- wasProclitic :: String -> Bool
- getEnclitic :: [Char] -> [Char]
- getProclitic :: String -> [Char]
- dropAccent :: [Char] -> [Char]
- dropLastAccent :: [Char] -> [Char]
- addAcute :: String -> String
- hasEndAcute :: [Char] -> Bool
- hasEndCircum :: [Char] -> Bool
- hasPrefinalAcute :: [Char] -> Bool
- hasSingleAccent :: [Char] -> Bool
- hasAccent :: [Char] -> Bool
- enclitics_expls :: [[Char]]
Text lexing without word capitalization of the first word of every sentence.
lexTextAGreek :: String -> [String] Source #
lexTextAGreek2 :: String -> [String] Source #
unlexTextAGreek :: [String] -> String Source #
isAGreekPunct :: Char -> Bool Source #
Text lexing and unlexing for Ancient Greek:
lexAGreek2 :: String -> [String] Source #
unlexAGreek :: [String] -> String Source #
normalize :: String -> String Source #
normalize = change grave accent on sentence internal words to acute, and shift inherited acutes to the following enclitic (where they are visible only as shown in the list of enclitics above)
fromAGreek :: [String] -> [String] Source #
denormalize :: String -> String Source #
de-normalize = change acute accent of end syllables in sentence internal (non-enclitic) words to grave accent, and move accents of enclitics to the previous word to produce ordinary ancient greek
isAGreekVowel :: Char -> Bool Source #
proclitics :: [[Char]] Source #
isEnclitic :: [Char] -> Bool Source #
isProclitic :: [Char] -> Bool Source #
wasEnclitic :: [Char] -> Bool Source #
wasProclitic :: String -> Bool Source #
getEnclitic :: [Char] -> [Char] Source #
getProclitic :: String -> [Char] Source #
dropAccent :: [Char] -> [Char] Source #
Accent manipulation
dropLastAccent :: [Char] -> [Char] Source #
hasEndAcute :: [Char] -> Bool Source #
Accent checking on end syllables
hasEndCircum :: [Char] -> Bool Source #
hasPrefinalAcute :: [Char] -> Bool Source #
hasSingleAccent :: [Char] -> Bool Source #
enclitics_expls :: [[Char]] Source #