Text classification with Python 3.14's zstd module

33 points by carlana


emmatyping

This is a very cool trick! In hindsight it makes sense, but I never considered it would be this easy to apply compression to text classification

abetusk

It'd be nice to figure out what's actually going on. Is this k-means on a bag-of-words nearest neighbor in disguise?