packages feed

corenlp-parser 0.3.0.1 → 0.4.0.0

raw patch · 2 files changed

+6/−4 lines, 2 files

Files

corenlp-parser.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: f543ec5c7d7cc3d366a63cb8df782d521cd7dc1a76f423f3fbb4aa43a2b84153+-- hash: 14835f56d0b2ed774d7f3126e14aec20150854b0b4b513f1655e818c271b45d0  name:           corenlp-parser-version:        0.3.0.1+version:        0.4.0.0 synopsis:       Launches CoreNLP and parses the JSON output description:    Launches CoreNLP and parses the JSON output category:       Natural Language Processing
src/NLP/CoreNLP.hs view
@@ -208,7 +208,7 @@   , characterOffsetEnd :: Int   , pos :: PennPOS   , ner :: NamedEntity-  , speaker :: Text+  , speaker :: Maybe Text   , before :: Text   , after :: Text   } deriving (Show, Eq, Generic)@@ -302,7 +302,9 @@   let throttledAction = bracket_ (waitQSem sem) (signalQSem sem) . action   runConcurrently (traverse (Concurrently . throttledAction) taskContainer) --- | Launch CoreNLP with your inputs. This function will put every piece of 'Text' in a separate file, launch CoreNLP subprocess, and parse the results+-- | Launch CoreNLP with your inputs. This function will put every+-- piece of 'Text' in a separate file, launch CoreNLP subprocess, and+-- parse the results launchCoreNLP ::      FilePath -- ^ Path to the directory where you extracted the CoreNLP project   -> LaunchOptions