mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 10:16:27 +03:00
Remove debugging
This commit is contained in:
parent
1d8168d1fd
commit
b0ee76264b
|
@ -449,7 +449,6 @@ def make_orth_variants(nlp, example, orth_variant_level=0.0):
|
||||||
# something went wrong, abort
|
# something went wrong, abort
|
||||||
# (add a warning message?)
|
# (add a warning message?)
|
||||||
if not match_found:
|
if not match_found:
|
||||||
print("aborting")
|
|
||||||
return example
|
return example
|
||||||
# add following whitespace
|
# add following whitespace
|
||||||
while raw_idx < len(raw) and re.match("\s", raw[raw_idx]):
|
while raw_idx < len(raw) and re.match("\s", raw[raw_idx]):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user