Skip to main content

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

Metadata

Release files for acace_compression_engine 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acace_compression_engine 0.1.0
File Size Uploaded
acace_compression_engine-0.1.0.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for acace_compression_engine 0.1.0
File Interpreter ABI Platform
acace_compression_engine-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / acace_compression_engine-0.1.0.tar.gz

Download URL acace_compression_engine-0.1.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c39497342a3e871edeb41e44a79aaa5f01108c39946f3253aaae69683039b602
BLAKE2b-256 checksum
How to use checksums
ac8404c43487615a4da334b25226307a11912aa23459aa99c894b93659b4afbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.9.6 Darwin/24.3.0

Release files / acace_compression_engine-0.1.0-py3-none-any.whl

Download URL acace_compression_engine-0.1.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27b3b7b065d0e5835e85bbb2c601e672e4eee684c8cef3dd89b093b031fa5366
BLAKE2b-256 checksum
How to use checksums
942cbb42b6bcde4860e393a377b094bad29dc554136f45656c1676f0bfd49c48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.9.6 Darwin/24.3.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page