Skip to main content

A simple rule-based tokenizer for English text

Project description

TokenizeBot

PyPI version License

A lightweight, rule-based tokenizer for handling English clitics and punctuation.

Installation

pip install tokenizebot

Usage

from tokenizebot import TokenizeBot
bot = TokenizeBot()

tokens = bot.tokenize("They've been busy.", lowercase=True)
print(tokens) 

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

tokenizebot-0.1.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tokenizebot-0.1.0-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file tokenizebot-0.1.0.tar.gz.

File metadata

  • Download URL: tokenizebot-0.1.0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for tokenizebot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 63e86a91e62ad96611e1d9937d18b742ef15c50620783a70ca3e1a53d524873d
MD5 a7233b6d2fca8b82c5468d5f03e4171d
BLAKE2b-256 b91a7505d2d17ae17b6927e1f6b8d2efb46cc1fc9513e0c3bd08e597a8c85838

See more details on using hashes here.

File details

Details for the file tokenizebot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tokenizebot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for tokenizebot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06670507245398dc81d75ca0149b8bbbfa39a400dc57bf1dbfa69e2fb71a45ef
MD5 89e44c1c5bf2143fe757f7d60c1f3dcb
BLAKE2b-256 1bbd1f6eaec6e5aa0e05925dc7208b577665a0b50093f6c9229f9ab287cb8674

See more details on using hashes here.

Supported by

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