pemistahl / lingua-py

The most accurate natural language detection library for Python, suitable for short text and mixed-language text
Apache License 2.0
1.1k stars 44 forks source link

Increase speed by compiling to native code #88

Closed pemistahl closed 10 months ago

pemistahl commented 1 year ago

It should be investigated if and how detection speed can be increased by compiling crucial parts of the library to native code, probably with the help of Cython or mypyc.

pemistahl commented 10 months ago

This issue can be closed as I've written Python bindings for the Rust implementation of Lingua. This solution performs much better than using Cython etc.