Skip to main content

German language support for TextBlob.

Project description

Latest version Travis-CI Number of PyPI downloads

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

Project details


Release history Release notifications

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.1

History Node

0.3.0

History Node

0.2.9

History Node

0.2.8

History Node

0.2.7

History Node

0.2.6

History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

This version
History Node

0.1.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
textblob_de-0.1.3-py2.py3-none-any.whl (409.4 kB) Copy SHA256 hash SHA256 Wheel 3.4 Jul 9, 2014
textblob-de-0.1.3.tar.gz (408.2 kB) Copy SHA256 hash SHA256 Source None Jul 9, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page