Commit d026bc97 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FIX]

parent 32301d6d
Pipeline #3916 failed with stage
in 31 minutes and 15 seconds
...@@ -121,7 +121,7 @@ spacyDataToPosSentences (SpacyData ds) = PosSentences ...@@ -121,7 +121,7 @@ spacyDataToPosSentences (SpacyData ds) = PosSentences
----------------------------------------------------------------- -----------------------------------------------------------------
nlp :: URI -> Lang -> Text -> IO PosSentences nlp :: URI -> Lang -> Text -> IO PosSentences
nlp uri FR txt = spacyDataToPosSentences <$> spacyRequest uri txt nlp uri _lang txt = spacyDataToPosSentences <$> spacyRequest uri txt
nlp _ _ _ = panic "Make sure you have the right model for your lang for spacy Server" -- nlp _ _ _ = panic "Make sure you have the right model for your lang for spacy Server"
-- nlp FR txt = spacyDataToPosSentences <$> spacyRequest txt -- nlp FR txt = spacyDataToPosSentences <$> spacyRequest txt
-- nlp _ _ = panic "Make sure you have the right model for your lang for spacy Server" -- nlp _ _ = panic "Make sure you have the right model for your lang for spacy Server"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment