Efficient trie for storing and searching phrases.
Project description
Synapse Trie
Synapse Trie is a Python package for efficiently storing and searching phrases using a trie data structure, with additional features like weights, text filtering, and more.
Installation
Install directly using pip:
pip install git+https://github.com/J0nasW/SynapseTrie.git
Usage
from SynapseTrie import SynapseTrie
trie = SynapseTrie()
trie.add("hello")
print(trie.search("hello")) # 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
SynapseTrie-0.2.tar.gz
(8.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file SynapseTrie-0.2.tar.gz.
File metadata
- Download URL: SynapseTrie-0.2.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74989348fc743f3b52dd043b2dffd92a50d45f3d479d59b7af3fd0ad9c4ea4d1
|
|
| MD5 |
fcde1e933ae2d23cd628defef5f9439d
|
|
| BLAKE2b-256 |
130f08328167108180735f9a3d6700c1bce4f723828f06eb6fa536a12f41c53f
|
File details
Details for the file SynapseTrie-0.2-py3-none-any.whl.
File metadata
- Download URL: SynapseTrie-0.2-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5b6e728331ea3fed334fdc560a440bdc8a7fe4bec0b9065160ac80675c66779
|
|
| MD5 |
f9a6918faf3c1e7237ea7b8e6e50c620
|
|
| BLAKE2b-256 |
e1aa690b380ea1408e5f860928066c8fd24ef204e308f7cf9c2802bf26cc5472
|