Skip to main content

No project description provided

Project description

Twittenizer: Convert stupid text in smart features.

What does this lib do?

A tokenizer created specifically for messages posted on Twitter ( known as tweets). The constraints imposed by Twitter during the writing of messages force the users not to follow typographical standards. The purpose of this tokenizer is to reduce as much as possible the noise induced by the constraints while keeping as much of the information available in the tweet as possible.

It is build on top of NTLK Twitter tokenizer.

Installation

pip install twittenizer

Example

>>> from twittenizer import Tokenizer
>>> tokenizer = Tokenizer()
>>> tokenizer.tokenize("Here is my website: https://t.co/EZWeDhjl, check it out! ")
['Here',  'is', 'my', 'website', 'check', 'it', 'out']

Licence

Documentation

Project details


Download files

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

Source Distribution

twittenizer-0.0.5.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

twittenizer-0.0.5-py3-none-any.whl (20.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page