Skip to content

Commit

Permalink
Downgrade Numpy to 1.26 again
Browse files Browse the repository at this point in the history
  • Loading branch information
pemistahl committed Oct 29, 2024
1 parent 6f4bc15 commit 7d36f34
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 57 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,11 @@ reports yourself for all classifiers and languages by executing:
poetry install --only script
poetry run python3 scripts/accuracy_reporter.py

Accuracy reports for only a subset of classifiers and / or languages can be created by
passing command line arguments:

poetry run python3 scripts/accuracy_reporter.py --detectors cld2 lingua-high-accuracy --languages bulgarian german

For each detector and language, a test report file is then written into
[`/accuracy-reports`](https://github.com/pemistahl/lingua-py/tree/pure-python-impl/accuracy-reports).
As an example, here is the current output of the *Lingua* German report
Expand Down
95 changes: 39 additions & 56 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ gcld3 = "^3.0.13"
langdetect = "^1.0.9"
langid = "^1.1.6"
matplotlib = "^3.9.2"
numpy = "^2.1.2"
numpy = "^1.26.4"
pandas = "^2.2.3"
psutil = "^6.1.0"
pycld2 = "^0.41"
Expand Down

0 comments on commit 7d36f34

Please sign in to comment.