fasttext-langdetect icon indicating copy to clipboard operation
fasttext-langdetect copied to clipboard

80x faster and 95% accurate language identification with Fasttext

Results 10 fasttext-langdetect issues
Sort by recently updated
recently updated
newest added

Wget is not declared inside `setup.py >> install_requires` but is declared inside `requirements.txt`, so read the dependencies from `requirements.txt` file.

macOS on M1 (aarch64), Python 3.8.9 ``` (venv) alexei@m1 heftoscms % python3 Python 3.8.9 (default, Aug 3 2021, 19:21:54) [Clang 13.0.0 (clang-1300.0.29.3)] on darwin Type "help", "copyright", "credits" or "license"...

Hi, I think having `os.path.dirname(__file__)` as the default directory for storing the binary would be a better default than `"/tmp/fasttext-langdetect"`, since some systems might not have a working tmp directory....

I've created a small PR to fix issue #4 by replacing wget with requests and adding that to the dependencies. I've also moved `url` into the if-case so it won't...

Avoid dependency on python3-devel and pybind11 by using precompiled dependency.

I tried to install fasttext-langdetect, but I get the following error: ``` Building wheels for collected packages: fasttext Building wheel for fasttext (setup.py) ... error error: subprocess-exited-with-error × python setup.py...

To avoid below error. Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead.

running python 3.10.12 and fasttext_langdetect 1.0.5 The function "detect! runs fine as explained in the docs: detect(text="Bugün hava çok güzel") but when adding the parameter low_memory like this: detect(text="Bugün hava...

There are cases in practice when text is bi-lingual or it contains phrases or paragraphs even on several languages. Original `fasttext` allows to get more than one language detected with...

Warning : `load_model` does not return WordVectorModel or SupervisedModel any more, but a `FastText` object which is very similar. https://github.com/facebookresearch/fastText/issues/1056