mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 01:04:34 +03:00
Fix merge
This commit is contained in:
parent
93a98e8c3e
commit
90040aacec
|
@ -119,7 +119,6 @@ def make_orth_variants(
|
||||||
orig_token_dict = copy.deepcopy(token_dict)
|
orig_token_dict = copy.deepcopy(token_dict)
|
||||||
ndsv = orth_variants.get("single", [])
|
ndsv = orth_variants.get("single", [])
|
||||||
ndpv = orth_variants.get("paired", [])
|
ndpv = orth_variants.get("paired", [])
|
||||||
logger.debug(f"Data augmentation: {len(ndsv)} single / {len(ndpv)} paired variants")
|
|
||||||
words = token_dict.get("ORTH", [])
|
words = token_dict.get("ORTH", [])
|
||||||
tags = token_dict.get("TAG", [])
|
tags = token_dict.get("TAG", [])
|
||||||
# keep unmodified if words or tags are not defined
|
# keep unmodified if words or tags are not defined
|
||||||
|
|
Loading…
Reference in New Issue
Block a user