A fast Python implementation of ac auto mechine.
Project description
A fast Python implementation of Ac Auto Mechine
Installation
To install:
$ pip install acAutoMechine
Quickstart
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))
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
acAutoMechine-0.0.3.tar.gz
(3.6 kB
view details)
File details
Details for the file acAutoMechine-0.0.3.tar.gz.
File metadata
- Download URL: acAutoMechine-0.0.3.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
325d2955659e64f92a6a36ae59bfe909f9054a609539c0e3ae77e7e2625b69ce
|
|
| MD5 |
92917b103b3e688d5f91564b6031df9c
|
|
| BLAKE2b-256 |
07df64283491c4120d865972d24090ec091b421a7287e61a81ba812d7e5cce22
|