Surprisal – a language identifier in ~250 lines of C. No ML,no training
github.com · 海外项目
1HN 得分
昨天出现时间
项目说明
I made a text/language identifier today, in a single C file, with no ML.It classifies a text by checking which reference text a hand-rolled greedy LZ77 compressor finds least surprising. Each class is