4 ms·
In general, language detection is surprisingly hard. There is LSTM-based implementation https://github.com/AU-DIS/LSTM_langid https://github.com/AU-DIS/LSTM_lan
by nshm 5y ago
In general, language detection is surprisingly hard. There is LSTM-based implementation https://github.com/AU-DIS/LSTM_langid https://github.com/AU-DIS/LSTM_langid which should be better than ngrams.