Skip to main content

Tokenizer for chat bots

Project description

Tokenizer for text messages

Setup

TODO

Usage

from tokenizer import Tokenizer

INPUT_STRING = '!bot create george'
tokens = Tokenizer(INPUT_STRING)
if tokens.match('!bot create <name>'):
  items = tokens.items()
  print('Name is: {}'.format(items['name']))

Note: .items() must be called after a .match()

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

chatbottokenizer-0.0.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

chatbottokenizer-0.0.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file chatbottokenizer-0.0.1.tar.gz.

File metadata

  • Download URL: chatbottokenizer-0.0.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for chatbottokenizer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9c09e82ae017d40dac1e71175d573eedea8fb3634976d158b99a34ca394881a8
MD5 91f8be9a94bd2e70920b1911427c2442
BLAKE2b-256 7abfd81688a34f1b10645b19c60c300615846289c174622543a508b9a6e58af9

See more details on using hashes here.

File details

Details for the file chatbottokenizer-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: chatbottokenizer-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for chatbottokenizer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dcdfd8488802a7ef0e501e50d3ea7ae590d0b0900cb790a30e6fe06611260021
MD5 501e25f2ad79431f2564e344884ca283
BLAKE2b-256 08732140ca3f314eb2c3f28ee1db4256fbfba64c921088a19adcfb17adb518ac

See more details on using hashes here.

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