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

Support spaCy v2.2 #432

Merged
merged 21 commits into from
Jun 7, 2020
Merged

Support spaCy v2.2 #432

merged 21 commits into from
Jun 7, 2020

Conversation

HiromuHota
Copy link
Contributor

This will close #384.

This PR

  • Expand the version requirement for spaCy to include v2.2.
  • Adapt the unit tests to the language model change from v2.1 to v2.2
  • Remove some checks from e2e that are checked elsewhere (ie test_candidates.py and test_parser.py)
  • Switch from mecab-python3 to fugashi as an extra dependency for Japanese as spaCy did as of v2.2.4.

@HiromuHota HiromuHota marked this pull request as ready for review June 2, 2020 20:14
@HiromuHota HiromuHota marked this pull request as draft June 2, 2020 20:17
@codecov-commenter
Copy link

codecov-commenter commented Jun 2, 2020

Codecov Report

Merging #432 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #432   +/-   ##
=======================================
  Coverage   83.17%   83.17%           
=======================================
  Files          88       88           
  Lines        4548     4548           
  Branches      837      837           
=======================================
  Hits         3783     3783           
  Misses        572      572           
  Partials      193      193           
Flag Coverage Δ
#unittests 83.17% <ø> (ø)
Impacted Files Coverage Δ
setup.py 0.00% <ø> (ø)

@HiromuHota HiromuHota marked this pull request as ready for review June 4, 2020 17:33
tests/e2e/test_e2e.py Show resolved Hide resolved
tests/e2e/test_e2e.py Show resolved Hide resolved
Copy link
Contributor

@lukehsiao lukehsiao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@lukehsiao lukehsiao merged commit a893e31 into HazyResearch:master Jun 7, 2020
@lukehsiao lukehsiao added this to the v0.8.3 milestone Jun 7, 2020
@lukehsiao lukehsiao added the clean-up Cleaning up the code or refactoring label Jun 7, 2020
@HiromuHota HiromuHota deleted the fix/384 branch June 11, 2020 15:57
wajdikhattel added a commit to wajdikhattel/fonduer that referenced this pull request Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clean-up Cleaning up the code or refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade spaCy to v2.2.4 or later for easier installation of Japanese backend
3 participants