Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A fast and accurate part-of-speech tagger for TextBlob.

Project description

Latest version Travis-CI

A fast and accurate part-of-speech tagger based on the Averaged Perceptron. For use with TextBlob.

Implementation by Matthew Honnibal, a.k.a. syllog1sm. Read more about it here.

Install

If you have pip installed (you should), run

$ pip install -U textblob-aptagger

Usage

>>> from textblob import TextBlob
>>> from textblob_aptagger import PerceptronTagger
>>> blob = TextBlob("Simple is better than complex.", pos_tagger=PerceptronTagger())
>>> blob.tags
[('Simple', u'NN'), ('is', u'VBZ'), ('better', u'JJR'), ('than', u'IN'), ('complex', u'JJ')]

Requirements

  • Python >= 2.6 or >= 3.3

License

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

Changelog

0.2.0 (10/21/2013)

  • Compatibility with Textblob>=0.8.0.

0.1.0 (09/25/2013)

  • First stable release.
  • Ports the PerceptronTagger from TextBlob 0.6.3.

0.0.1 (09/22/2013)

  • Experimental release.

Project details


Release history Release notifications

This version
History Node

0.2.0

History Node

0.1.0

History Node

0.0.1

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_aptagger-0.2.0-py2.py3-none-any.whl (3.4 MB) Copy SHA256 hash SHA256 Wheel 2.7 Oct 28, 2013
textblob-aptagger-0.2.0.tar.gz (3.4 MB) Copy SHA256 hash SHA256 Source None Oct 28, 2013

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