Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize tagger logic using numpy #35

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
- Updated versions of the dependencies: `pylangacq >= 0.17.0` and `wordseg >= 0.0.4`.
- Restructured the repository to use top-level `src/` and `tests/` directories.
- Replaced tagger.pickle with tagger.json.
- Rewrite some math logic of tagger using numpy to gain ~3x performance.

### Deprecated
### Removed
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ keywords = [
dependencies = [
'importlib-metadata >= 1.0; python_version < "3.8"',
'pylangacq >= 0.17.0',
'numpy >= 1.23.0',
'wordseg >= 0.0.4',
]
classifiers = [
Expand Down
Loading