skip to navigation
skip to content

Not Logged In

textblob-de 0.1.3

German language support for TextBlob.

Latest Version: 0.4.1

German language support for TextBlob.

This python package is being developed as a TextBlob Language Extension. See Extension Guidelines for details.

Features

Installing/Upgrading

$ pip install -U textblob-de

Or the latest development release:

$ pip install -U git+https://github.com/markuskiller/textblob-de.git@dev

Note

TextBlob will be installed and updated automatically by running the above commands.

Usage

>>> from textblob import TextBlob
>>> from textblob_de import PatternTagger
>>> text = "Das ist ein schönes Auto."
>>> blob = TextBlob(text, pos_tagger=PatternTagger())
>>> blob.tags
[('Das', 'DT'), ('ist', 'VB'), ('ein', 'DT'), ('schönes', 'JJ'), ('Auto', 'NN')]

Note

Make sure that you use unicode strings on Python2 if your input contains non-ascii characters (e.g. word = u"schönes")

Requirements

  • Python >= 2.6 or >= 3.3

TODO

  • Fix handling of sentence final punctuation
  • German Tokenization (adapt English PatternTokenizer)
  • NLTK tagging
  • Parsing
  • Sentiment analysis (no subjectivity lexicon readily available in pattern-de)

License

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

Changelog

0.1.3 (09/07/2014)

  • First release on PyPI

0.1.0 - 0.1.2 (09/07/2014)

  • First release on github
  • A number of experimental releases for testing purposes
  • Adapted version badges, tests & travis-ci config
  • Code adapted from sample extension textblob-fr
  • Language specific linguistic resources copied from pattern-de
 
File Type Py Version Uploaded on Size
textblob-de-0.1.3.tar.gz (md5) Source 2014-07-09 398KB
textblob_de-0.1.3-py2.py3-none-any.whl (md5) Python Wheel 3.4 2014-07-09 399KB
  • Downloads (All Versions):
  • 62 downloads in the last day
  • 477 downloads in the last week
  • 1605 downloads in the last month