bazingagin / npc_gzip

Code for Paper: “Low-Resource” Text Classification: A Parameter-Free Classification Method with Compressors
MIT License
1.77k stars 156 forks source link

Improving Readabililty #7

Closed zbloss closed 1 year ago

zbloss commented 1 year ago

First great work on this project!

This PR mainly improves the readability of the project via type-hinting, docstrings, and in some cases changing variable names or combining functions. I need @bazingagin to verify that nothing here is truly broken, though it's working on my end.

There are still opportunities to improve here and I'm happy to partner up if the appetite is here.

bazingagin commented 1 year ago

Hi @zbloss, thanks a lot! I fixed a few conflicts and it's merged now.

Yes, I agree there is a lot to improve! Just invited you to collaborate.