Skip to content

Conversation

misyaguziya
Copy link

Summary
This PR fixes a compatibility issue with spaCy version 3.3.0 and later by updating the morphologizer tagger architecture from spacy.Tagger.v1 to spacy.Tagger.v2 in all configuration files.

Background
Starting from spaCy 3.3.0, the spacy.Tagger.v1 architecture has been deprecated and replaced with spacy.Tagger.v2. This change affects the morphologizer component configuration.

Changes Made

  • ja_ginza.analysis.cfg
  • ja_ginza.cfg
  • ja_ginza_electra.analysis.cfg
  • ja_ginza_electra.cfg

Before:

[components.morphologizer.model]
@architectures = "spacy.Tagger.v1"

After:

[components.morphologizer.model]
@architectures = "spacy.Tagger.v2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant