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)
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.2.tar.gz
(3.6 kB
view details)
File details
Details for the file acAutoMechine-0.0.2.tar.gz.
File metadata
- Download URL: acAutoMechine-0.0.2.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 |
0d03c8ce8a2cf24b0c647ecd35247fc677a11f965497590b50fd433c0bcc5580
|
|
| MD5 |
37204b11f0d8a4e24a1273713c0efb32
|
|
| BLAKE2b-256 |
1bd6f983a1106af67d6f17b01784cbd878cb8e57589649c9a0e177ef46248d22
|