  from .. import util
  
  
  default_model_config = """
  [model]
  @architectures = "spacy.Tagger.v1"
 
</s> remove         srsly.write_json(path, {"punct_chars": list(self.punct_chars)})
 </s> add         srsly.write_json(path, {"punct_chars": list(self.punct_chars), "overwrite": self.overwrite}) </s> remove         cfg = {"labels": []}
 </s> add         cfg = {"labels": [], "overwrite": overwrite} </s> remove         cfg = {"labels_morph": {}, "labels_pos": {}}
 </s> add         cfg = {
            "labels_morph": {},
            "labels_pos": {},
            "overwrite": overwrite,
            "extend": extend,
        }
# See #9050
BACKWARD_OVERWRITE = False
  from .. import util
  
# See #9050
BACKWARD_OVERWRITE = False
  
  default_model_config = """
  [model]
  @architectures = "spacy.Tagger.v1"
keep add keep keep keep keep
 Add overwrite settings for more components (#9050)

* Add overwrite settings for more components

For pipeline components where it's relevant and not already implemented,
add an explicit `overwrite` setting that controls whether
`set_annotations` overwrites existing annotation.

For the `morphologizer`, add an additional setting `extend`, which
controls whether the existing features are preserved.

* +overwrite, +extend: overwrite values of existing features, add any new
features
* +overwrite, -extend: overwrite completely, removing any existing
features
* -overwrite, +extend: keep values of existing features, add any new
features
* -overwrite, -extend: do not modify the existing value if set

In all cases an unset value will be set by `set_annotations`.

Preserve current overwrite defaults:

* True: morphologizer, entity linker
* False: tagger, sentencizer, senter

* Add backwards compat overwrite settings

* Put empty line back

Removed by accident in last commit

* Set backwards-compatible defaults in __init__

Because the `TrainablePipe` serialization methods update `cfg`, there's
no straightforward way to detect whether models serialized with a
previous version are missing the overwrite settings.

It would be possible in the sentencizer due to its separate
serialization methods, however to keep the changes parallel, this also
sets the default in `__init__`.

* Remove traces

Co-authored-by: Paul O'Leary McCann <polm@dampfkraft.com> 
spacy/pipeline/senter.pyx