I need to detect which programming language is used in a code snippet, there is any library to do this?
I already read this Detecting programming language from a snippet, but I rather use a tested and working library.
The link you posted is exactly what you need. That's only a couple hours of programming time. Otherwise, try googling for "bayesian spam filtering php" - the first result may be what you're looking for: http://www.phpclasses.org/browse/package/4236.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With