Skip to content

Instantly share code, notes, and snippets.

@xarical
Last active May 1, 2025 18:16
Show Gist options
  • Select an option

  • Save xarical/47a4fa3dc62fa57e1d0558a058900e3c to your computer and use it in GitHub Desktop.

Select an option

Save xarical/47a4fa3dc62fa57e1d0558a058900e3c to your computer and use it in GitHub Desktop.
Testing various methods of automatically detecting readable text: frequency analysis using a custom frequency table, word detection using spaCy and the NLTK words corpus, nonsense string evaluation using Nostril, and using an LLM (GPT-4o-mini, served through G4F)
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment