textblob-nl
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.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.