hanspell 0.2.4.0 → 0.2.5.0
raw patch · 2 files changed
+5/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
hanspell.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: hanspell-version: 0.2.4.0+version: 0.2.5.0 synopsis: Korean spell checker description: This package includes @hanspell@, a simple command line spell check program and a library, @Language.Hanspell@. Both of them are based on DAUM spell check web service and Pusan National University spell check web service. category: language,korean,spellchecker
src/Language/Hanspell/DaumSpellChecker.hs view
@@ -133,7 +133,7 @@ , token = decodeEntity (splitted!!3) , suggestions = [decodeEntity (splitted!!5)] , context = decodeEntity (splitted!!7)- , info = info'''+ , info = info'''' } where gsub from to text = subRegex (mkRegex from) text to splitted = splitOn "\"" $ head (lines body)@@ -149,3 +149,6 @@ . gsub ".*strong class=.tit_help.>예문</strong.*\n" "(예)" . gsub "\t" "" $ info''+ info'''' = if decodeEntity info''' == "도움말이 없습니다.\n"+ then ""+ else info'''