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.1.tar.gz
(4.9 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.1.tar.gz.
File metadata
- Download URL: SynapseTrie-0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f3fee0b54876440765e8294aac291d1f25e0a319754a50bc29464305aa95ea2
|
|
| MD5 |
12e522805f920bc9de9a9fcc8fc4a1fa
|
|
| BLAKE2b-256 |
80ed94e8e5a8e5550ef344493b659395e17d3a2bf5fddeb9a44e54cdf6a9fd69
|
File details
Details for the file SynapseTrie-0.1-py3-none-any.whl.
File metadata
- Download URL: SynapseTrie-0.1-py3-none-any.whl
- Upload date:
- Size: 5.8 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 |
d1b79020858b470c229828f2ba3a9ee93b51bdf6e004f54f4c23c777a12d201b
|
|
| MD5 |
3782dbcc7ef158bff7a9b83dd4f4c96c
|
|
| BLAKE2b-256 |
325b41bfd280252b00813438d8aa7bb10c6d67562f3a1abd8bab697bccfc0624
|