optimaize / language-detector

Language Detection Library for Java
Apache License 2.0
567 stars 165 forks source link

Adding support for Scottish Gaelic (gd) #81

Open anjackson opened 7 years ago

anjackson commented 7 years ago

I work with national libraries in the United Kingdom. We've been very happy with your Welsh language detection, and would like to add support for Scottish Gaelic.

In this repository I've generated a gd language profile from texts supplied by the National Library of Scotland (they can't be openly licensed unfortunately, so they are not in the repository).

The language profile is here: https://github.com/ukwa/language-profile-creation/blob/master/profile-output/gd

I tuned the minimum N-gram frequency up to 50 in order to get the profile down to about 30KB in size. If you'd like a different size/configuration please let me know.

anjackson commented 7 years ago

Hello again. I'm happy to reformat this in any way you need, so it can be included. Just let me know.