Discover

Surprisal

A language identifier using LZ77 compression cost without ML or training,
1 ratings3.71
Saves1
CategoryAI
PlatformWeb
PricingFree

Surprisal classifies text by measuring the compression cost of input text against reference corpora using a hand-rolled LZ77 compression algorithm. It selects the language whose reference text encodes the input with the least bits. It requires no machine learning or training and is implemented as a single C file.

Ratings & Reviews

Write a review
3.71

1 reviews

Product
3.21
Design & Polish
3.71
Performance
4.21

Be the first to share a thoughtful review.

Information

CategoryAI
PlatformsWeb
PricingFree
AccountNot confirmed
ListedOctober 2026
Report a problem

Around the Web

Show HN1 source points · 0 comments