Skip to content

Commit

Permalink
prepare next version: 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
adbar committed Mar 29, 2022
1 parent 3bdd682 commit c827c44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ Changes in this fork

Execution speed has been improved and the code base has been optimized for Python 3.6+:

- Loading the module with ``import`` is now about 10x faster
- Language detection with ``langid.classify`` is now about 5x faster
- Import: Loading the package (``import py3langid``) is about 30% faster
- Startup: Loading the default classification model is 20-25x faster
- Execution: Language detection with ``langid.classify`` is 5-6x faster on paragraphs (less on longer texts)

For implementation details see this blog post: `How to make language detection with langid.py faster <https://adrien.barbaresi.eu/blog/language-detection-langid-py-faster.html>`_.

Expand Down
2 changes: 1 addition & 1 deletion py3langid/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .langid import classify, rank, set_languages

__version__ = '0.2.0'
__version__ = '0.2.1'

0 comments on commit c827c44

Please sign in to comment.