--- language: - "multilingual" pipeline_tag: text-classification library_name: fasttext, fast_langdetect --- Text language classification models! Example: ```python from fast_langdetect import detect, detect_multilingual, LangDetector, LangDetectConfig config = LangDetectConfig(allow_fallback=False, custom_model_path="./fasttext/lid.218e.bin") # lid.176.ftz / lid.176.bin / lid.218e.bin detector = LangDetector(config) result = detector.detect("Hello world!") print(result) ```