File size: 313 Bytes
30f9407 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
---
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]))
```
|