Replies: 1 comment
-
They're regular expressions. See
You can answer both of these by looking at the code in the classifier
A programming language 😁 In short the classification works like a funnel. We passing in all languages Linguist knows about ( We have a PR open to switch out the bayesian classifier for a centroid-based classifier in #5103 which will come at some point in the future. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I am working on a code classification task for my doctorate research. Github Linguist offers an exciting solution to detect coding language as explained here https://github.com/github/linguist/blob/master/docs/how-linguist-works.md . However, I need more details on the Heuristics and on the Naïve Bayesian Classification. Please elaborate:
Cheers from New Zealand.
Beta Was this translation helpful? Give feedback.
All reactions