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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for chatbottokenizer-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcdfd8488802a7ef0e501e50d3ea7ae590d0b0900cb790a30e6fe06611260021 |
|
MD5 | 501e25f2ad79431f2564e344884ca283 |
|
BLAKE2b-256 | 08732140ca3f314eb2c3f28ee1db4256fbfba64c921088a19adcfb17adb518ac |