Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- enigPPP :: Text -> PPPCategory -> Text
- enigPPPWithPost :: Text -> PPPCategory -> Text -> Text
- enigAuto :: Text -> Text
- getTarget :: Text -> Text -> (Text, Text)
- findingPPPPattern :: Text -> Maybe (Text, PPPCategory, Text)
- match' :: (a -> Bool) -> [a] -> Maybe a
- isDelimiter :: Char -> Bool
Documentation
enigPPP :: Text -> PPPCategory -> Text Source #
Return proper and minimal PPP about given text
주어진 단어와 조사의 종류에 대해서 최소한의 적절한 조사의 문자열을 반환함
>>>
enigPPP "과자" WG
"와">>>
enigPPP "무엇" WG
"과"
enigPPPWithPost :: Text -> PPPCategory -> Text -> Text Source #
Return proper PPP about given text with post text
주어진 단어와 조사의 종류에 대해서 적절한 조사의 문자열을 반환함
>>>
enigPPP "과자" EuX "로"
"로">>>
enigPPP "무엇" EuX "로"
"으로"
enigAuto :: Text -> Text Source #
Find replacing pattern and apply enigPPP from given text automatically
주어진 문자열에서 변환할 조사 패턴를 알아서 찾아서 바꿔줌
>>>
enigAuto "과자(으)로"
"과자로">>>
enigAuto "무엇(으)로"
"무엇으로"
findingPPPPattern :: Text -> Maybe (Text, PPPCategory, Text) Source #
isDelimiter :: Char -> Bool Source #