Show HN: Surprisal – a language identifier in ~250 lines of C. No ML,no training
Description and use
Surprisal is a lightweight language identifier written in about 250 lines of C, without machine learning or training. It’s suitable for prototypes and internal workflows, yet needs manual vetting before integration due to sparse activity and maintenance. In production, use it after confirming license, updates, and dependency health.
Use in a workflow
Show HN: Surprisal – a language identifier in ~250 lines of C. No ML,no training may be useful when its README and activity match a concrete workflow.
Limitations and review notes
Medium: useful for prototypes or internal workflows, with dependency and maintenance checks before production.
- Source: hackernews
- Record date: 2026-10-13T15:55:27.000Z