Skip to content
Redmoon Calculators
Análisis de texto All languages

Text Entropy & Predictability Analyzer

Calculadora gratuita de entropía y previsibilidad del texto. Calcula la entropía de Shannon a nivel de carácter y palabra, entropía de n-gramas y estimación de compresión.

Cuándo usarlo

Use when you suspect a text is repetitive but can't spot why. Word entropy catches phrase-level repetition; character entropy catches alphabet-level oddities.

Cómo se compara

Lexical diversity measures unique-word *count*; entropy measures unique-word *distribution*. Two texts can have identical TTR but very different entropy.

0 chars

Cómo funciona

Shannon entropy is computed as H = −Σ p(x) · log₂ p(x) over the chosen symbol set (characters, words, or word bigrams).

Predictability is 1 − H/Hₘₐₓ — higher means more repetitive and easier to compress.

Compare modes: AI-generated text often shows lower word entropy and higher word-bigram repetition than human writing of similar length.

Fórmula

Preguntas frecuentes

What is Shannon entropy?

A measurement of unpredictability. Higher entropy means each symbol (word or character) carries more information; lower means the text is more repetitive.

What's a typical entropy value for English?

~9–10 bits per word for typical prose; ~4 bits per character. Highly templated text falls below.

Why include n-gram and character modes?

Different views surface different patterns. Word-bigram entropy catches phrase-level repetition; character entropy catches alphabet quirks.

Ejemplo práctico

Entrada

The cat sat on the mat. The cat sat on the mat. The cat sat on the mat.

Salida

Word entropy: 2.32 bits — Very predictable (predictability 51%).

Only 6 unique words across 18 — the same six repeated three times. Maximum possible entropy is log₂(6) ≈ 2.58 bits, so 2.32 is close to maximum-given-vocab but predictability vs uniform is low.

Errores comunes

  • Entropy values are not directly comparable across mode (word vs character vs bigram).
  • Highly templated copy (legal boilerplate) scores very predictable — by design.
  • Compression estimate is a rough proxy, not real gzip output.

Herramientas relacionadas

Enviar comentarios

Leemos cada mensaje. Cuéntanos qué se puede mejorar o qué te gusta.