packages feed

concraft-pl 0.7.1 → 0.7.3

raw patch · 2 files changed

+6/−5 lines, 2 filesdep ~binarydep ~networkdep ~process

Dependency ranges changed: binary, network, process

Files

concraft-pl.cabal view
@@ -1,5 +1,5 @@ name:               concraft-pl-version:            0.7.1+version:            0.7.3 synopsis:           Morphological tagger for Polish description:     A morphological tagger for Polish based on the concraft library.@@ -30,11 +30,11 @@       , bytestring              >= 0.9      && < 0.11       , text                    >= 0.11     && < 1.2       , aeson                   >= 0.6      && < 0.8-      , binary                  >= 0.5      && < 0.6-      , process                 >= 1.1      && < 1.2+      , binary                  >= 0.5      && < 0.8+      , process                 >= 1.1      && < 1.3       , mtl                     >= 2.0      && < 2.2       , transformers            >= 0.2      && < 0.4-      , network                 >= 2.3      && < 2.5+      , network                 >= 2.3      && < 2.7       , lazy-io                 >= 0.1      && < 0.2       , split                   >= 0.2      && < 0.3 
src/NLP/Concraft/Polish/Maca.hs view
@@ -68,7 +68,7 @@ -- | Run Maca server on given channels. -- TODO: Should check, if maca works.  In particular, if morfeusz is available. runMacaOn :: In -> Out -> IO ThreadId-runMacaOn inCh outCh = forkIO . mask $ \restore -> do+runMacaOn inCh outCh = mask $ \restore -> forkIO (do     let cmd  = "maca-analyse"         args = ["-q", "morfeusz-nkjp-official", "-o", "plain", "-l"]     (Just inh, Just outh, Just errh, pid) <-@@ -102,6 +102,7 @@          -- Read maca response and put it in the output channel.         writeChan outCh =<< readMacaResponse outh (textWeight txt)+    )   readMacaResponse :: Handle -> Int -> IO [Sent Tag]