Skip to main content

SplatLLM makes text generated by large language models (LLMs) appear more authentically human via heuristic-based formatting.

Project description

SplatLLM

SplatLLM makes text generated by large language models (LLMs) appear more authentically human via heuristic-based formatting. Broadly, this involves:

  • Removal of invisible characters that can be used for watermarking and/or hiding information in plain text.
  • Remapping of unusual characters typically produced my LLMs but not typically used by human writers. For example, the Unicode dash punctuations commonly generated by LLMs are remapped to standard ASCII hyphens.
  • Removal of certain markdown formatting characteristically used by LLMs.

SplatLLM can also be used to reveal invisible characters and other unusual formatting via the splat --show-invisibles / splat -s command:

SplatLLM text analysis sample

Coming soon will be an MCP version that will expose SplatLLM as a callable tool for agent-driven post-formatting.

Quickstart

Install/run via uvx:

uvx splatllm

Or, install via pip:

pip install SplatLLM

Then run:

splatllm

Development Setup

First, clone this repository:

git clone https://github.com/theobjectivedad/splat-llm.git

Change directory to the cloned repository:

cd splat-llm

Next, setup your local virtual environment. Note that uv will be installed if it isn't found in the environment:

make venv

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

splatllm-0.1.0.tar.gz (108.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

splatllm-0.1.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file splatllm-0.1.0.tar.gz.

File metadata

  • Download URL: splatllm-0.1.0.tar.gz
  • Upload date:
  • Size: 108.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.5

File hashes

Hashes for splatllm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d3364ec628d20cd931699a650982f311c2e85a8907f9d560d6eb1e05b48acea5
MD5 a8e6e86b8f750f95137e089369290792
BLAKE2b-256 d5bf45e54c0c72d53ba3e4b860f53241408e2d7d646ca95c4a1d0c111c85f6ee

See more details on using hashes here.

File details

Details for the file splatllm-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: splatllm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.5

File hashes

Hashes for splatllm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44ecc041aadbedfe14ae513c6d372a3af55fc456afffcb21df08cd29449eb6d6
MD5 e7107c106bffdf0de774039909c705e6
BLAKE2b-256 7ee1170acb43d9744f01486e44ce6ce5df3a326bc655d0b1934a665f8ae77084

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page