offline - How can I detect a user's input language using Ruby without using an online service? -


I am looking for a library or technology to detect the input language of the block of text provided by users . Online search (such as Google Translate) will not work for this task because I am writing an app that needs to be run offline.

Thank you.

There are two more n-gm based gems that you try They can work offline.

  • , has been optimized for isolating English and other languages ​​(has a live demo)
  • , less specific, will detect more languages. Some languages ​​may require some additional training - I found out that this is not enough for German lessons.

Comments