3 ms·
The languages breakdown is interesting. It seems GitHub refuses to admit defeat and categorises the .m files into various other languages which use the extensio
by rozab 6y ago
The languages breakdown is interesting. It seems GitHub refuses to admit defeat and categorises the .m files into various other languages which use the extension (M, MATLAB, Objective-C, Mathematica and Mercury). I wonder if they use some sort of fuzzy ML solution for categorising them rather than conventional parsing.
- Eikon 6y agoHere you go! https://github.com/github/linguist#how-linguist-works https://github.com/github/linguist#how-linguist-works
- remram 6y agoWonder no more! https://github.com/github/linguist/blob/7c2adbdb15d4efd25d92cd5ed20d0025f0d32d28/lib/linguist/heuristics.yml#L265 https://github.com/github/linguist/blob/7c2adbdb15d4efd25d92... As most AI, it's regex and ifs all the way down.
- deleted 6y ago[deleted]