mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 04:10:20 +03:00
Remove backward compat from senter
Another simple one
This commit is contained in:
parent
87ed7f25f2
commit
6a8ab366e7
|
@ -16,8 +16,6 @@ from ..training import validate_examples, validate_get_examples
|
||||||
from ..util import registry
|
from ..util import registry
|
||||||
from .. import util
|
from .. import util
|
||||||
|
|
||||||
# See #9050
|
|
||||||
BACKWARD_OVERWRITE = False
|
|
||||||
|
|
||||||
default_model_config = """
|
default_model_config = """
|
||||||
[model]
|
[model]
|
||||||
|
@ -81,7 +79,7 @@ class SentenceRecognizer(Tagger):
|
||||||
model,
|
model,
|
||||||
name="senter",
|
name="senter",
|
||||||
*,
|
*,
|
||||||
overwrite=BACKWARD_OVERWRITE,
|
overwrite=False,
|
||||||
scorer=senter_score,
|
scorer=senter_score,
|
||||||
save_activations: bool = False,
|
save_activations: bool = False,
|
||||||
):
|
):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user