Skip to content

Commit

Permalink
Switch zh tokenizer default pkuseg_model to spacy_ontonotes (explosio…
Browse files Browse the repository at this point in the history
…n#12896)

So that users can use `copy_from_base_model` for other segmenters
without having to override an irrelevant `pkuseg_model` setting, switch
the default `pkuseg_model` to `spacy_ontonotes`.
  • Loading branch information
adrianeboyd authored Aug 9, 2023
1 parent b4e457d commit 1b2d66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spacy/lang/zh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
[initialize]
[initialize.tokenizer]
pkuseg_model = null
pkuseg_model = "spacy_ontonotes"
pkuseg_user_dict = "default"
"""

Expand Down

0 comments on commit 1b2d66f

Please sign in to comment.