Skip to content
 
 

Repository files navigation

textblob-nl

Latest version Travis-CI

Dutch language support for TextBlob.

Features

  • Part-of-speech tagging (PatternTagger)
  • Sentiment analysis (PatternAnalyzer)
  • Supports Python 2 and 3

Installing/Upgrading

If you have pip installed (you should), run

$ pip install -U textblob
$ pip install -U textblob-nl

Usage

>>> from textblob import TextBlob
>>> from textblob_nl import PatternTagger, PatternAnalyzer
>>> text = u"De kat wil wel vis eten maar geen poot nat maken."
>>> blob = TextBlob(text, pos_tagger=PatternTagger(), analyzer=PatternAnalyzer())
>>> blob.sentiment
(-0.1, 0.4)

Requirements

  • Python >= 2.6 or >= 3.3

TODO

  • Tokenization
  • Parsing
  • NLTK tagging?

License

MIT licensed. See the bundled LICENSE file for more details.

About

Dutch language support for TextBlob.

Resources

Contributing

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages