acAutoMechine-0.0.3
توضیحات
A fast Python implementation of ac auto mechine.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | acAutoMechine-0.0.3 |
| نام | acAutoMechine |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Chef_J |
| ایمیل نویسنده | hedge_jzt@hotmail.com |
| آدرس صفحه اصلی | https://github.com/jinzitian/AcAutoMechine |
| آدرس اینترنتی | https://pypi.org/project/acAutoMechine/ |
| مجوز | MIT |
=================
AC Auto Mechine
=================
A fast Python implementation of Ac Auto Mechine
Installation
============
To install:
.. code-block:: bash
$ pip install acAutoMechine
Quickstart
==========
.. code-block:: python
from acAutoMechine import Ac_mechine
### usage one:
actree = Ac_mechine()
actree.add_keys('he')
actree.add_keys('her')
actree.add_keys('here')
actree.build_actree()
### all match
print(actree.match("he here her"))
### long match
print(actree.match_long("he here her"))
### all match with match path
print(actree.match("he here her", True))
### long match with match path
print(actree.match_long("he here her", True))
نحوه نصب
نصب پکیج whl acAutoMechine-0.0.3:
pip install acAutoMechine-0.0.3.whl
نصب پکیج tar.gz acAutoMechine-0.0.3:
pip install acAutoMechine-0.0.3.tar.gz