chatbottokenizer-0.0.1
توضیحات
Tokenizer for chat bots
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | chatbottokenizer-0.0.1 |
| نام | chatbottokenizer |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Max Harley |
| ایمیل نویسنده | maxh@maxh.io |
| آدرس صفحه اصلی | https://github.com/t94j0/chatbot-tokenizer |
| آدرس اینترنتی | https://pypi.org/project/chatbottokenizer/ |
| مجوز | - |
# Tokenizer for text messages
## Setup
TODO
## Usage
```py
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()`
نحوه نصب
نصب پکیج whl chatbottokenizer-0.0.1:
pip install chatbottokenizer-0.0.1.whl
نصب پکیج tar.gz chatbottokenizer-0.0.1:
pip install chatbottokenizer-0.0.1.tar.gz