language: | |
- en | |
- he | |
library_name: fasttext | |
language detection of the English and Hebrew (only Romanized, - Hebrew script language detection is trivial) | |
```python | |
import fasttext as ft | |
model = ft.load_model("model_lang_detection.bin") | |
model.predict("tachles") | |
#(('__label__he',), array([0.92569])) | |
``` | |