Safe Haskell | None |
---|
- readPOS :: Text -> TaggedSentence
- safeInit :: Text -> Text
Documentation
readPOS :: Text -> TaggedSentenceSource
Read a POS-tagged corpus out of a Text string of the form: token/tag token/tag...
>>>
readPOS "Dear/jj Sirs/nns :/: Let/vb"
[("Dear",JJ),("Sirs",NNS),(":",Other ":"),("Let",VB)]