Just gonna throw this out here - any Ruby gem for relatively quick & accurate language detection that you know of?
@Gargron There is probably some binding to the wordnet database; it's quite popular in the field