> Comment #30774
This would be fairly easy to implement using the existing searchcode API (already a DDH plugin) and not require additional software installed.
You just need to pass the snippet though like so
and then sum up each of the types to make a guess as to the language. Assuming its a real snippet it would work fairly well as all the language detection is already done with support for over 80 languages.
posted by [UserVoice Anonymous] •
5 years and 3 months ago
Keep in Touch
© DuckDuckGo. The search engine that doesn't track you.
Login with Github
Forgot your password?
Don't have an account?
Report this content for:
Attempting to drive traffic to a website by posting off-topic links to a personal/business website.
Insulting or provocative (and not in a good way).
Lewd or offensive language.
Post is entirely unrelated to the topic being discussed.
Post is likely copy/pasted from another website and was meant for blackhat SEO.
Enter your own description of the flagged post.