C code detected as Objective C #237

LefterisJP opened this Issue Aug 23, 2012 · 3 comments


None yet
2 participants


I have a repository in Github, the Refu Library, which is a pure C project. For some reason the majority of the source files are identified as Objective C and so the project itself is tagged as Objective C. Here is the repository:

I have no knowledge of Ruby so I can't understand how the Linguist project works to find the problem. Any assistance with this matter will be appreciated.


josh commented Aug 23, 2012

Would you mind if I pulled some of those files into our repo to train our language classifier? I can't really tell by the project LICENSE file if copying is permitted.

Ofcourse you can. It's the BSD3 licence. Go ahead

josh was assigned Aug 23, 2012

josh closed this in 400086a Aug 23, 2012

Josh, I am not yet familiar with Github so I don't know if it's okay to say it here but I wanted to let you know that the project is now recognized as a C project with 81% of the files being recognized as C. I suppose since it's a learning algorithm the mistaken 18.7% Objective C recognition can't be helped.

Thanks for fixing it and keep up the good work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment