Text compression utilities for ACACE
Project description
ACACE Compression Engine
A semantic text compression engine for the Adaptive Context-Aware Content Engine (ACACE).
Features
- Token-based compression
- Semantic preservation
- Weight-based token filtering
- Configurable compression ratios
Installation
pip install acace_compression_engine
Usage
from acace_compression_engine import compress_text
from acace_token_weightor import assign_weights
from acace_tokenizer import tokenize_text
# Prepare tokens with weights
tokens = tokenize_text("Your text to compress with important information.")
weighted_tokens = assign_weights(tokens)
# Compress text while preserving semantics
compressed_text = compress_text(weighted_tokens, compression_ratio=0.7)
print(compressed_text)
License
MIT License
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
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 acace_compression_engine-0.1.0.tar.gz.
File metadata
- Download URL: acace_compression_engine-0.1.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.9.6 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c39497342a3e871edeb41e44a79aaa5f01108c39946f3253aaae69683039b602
|
|
| MD5 |
0f874dcf08249479926bec5b5f6686ff
|
|
| BLAKE2b-256 |
ac8404c43487615a4da334b25226307a11912aa23459aa99c894b93659b4afbd
|
File details
Details for the file acace_compression_engine-0.1.0-py3-none-any.whl.
File metadata
- Download URL: acace_compression_engine-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.9.6 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27b3b7b065d0e5835e85bbb2c601e672e4eee684c8cef3dd89b093b031fa5366
|
|
| MD5 |
7cbfbc89b967f4f677eda0342940ee56
|
|
| BLAKE2b-256 |
942cbb42b6bcde4860e393a377b094bad29dc554136f45656c1676f0bfd49c48
|