Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect language #3

Open
Bunn opened this issue Jun 19, 2017 · 2 comments
Open

Detect language #3

Bunn opened this issue Jun 19, 2017 · 2 comments

Comments

@Bunn
Copy link
Owner

Bunn commented Jun 19, 2017

Detect programming language to add correct gist extension.

@fpg1503
Copy link

fpg1503 commented Jun 21, 2017

Github's linguist is open source, you could try calling it using CRuby.

@Bunn
Copy link
Owner Author

Bunn commented Jun 21, 2017

@fpg1503 yep, I saw that, it's on my bookmark already, there's also some cool implementations using ML like: https://medium.com/machine-learning-at-petiteprogrammer/detecting-the-programming-language-of-source-code-snippets-using-machine-learning-and-neural-e275ca4ce93e

Not sure how to handle this yet, but probably the linguist approach is the best one.
Thanks :)

unnamedd pushed a commit that referenced this issue Feb 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants