Remove logging [ci skip]

This would be fired on each example, which is wrong
This commit is contained in:
Ines Montani 2020-10-05 15:09:52 +02:00
parent f4f49f5877
commit 8171e28b20
1 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import copy
from functools import partial
from pydantic import BaseModel, StrictStr
from ..util import registry, logger
from ..util import registry
from ..tokens import Doc
from .example import Example
@ -119,7 +119,6 @@ def make_orth_variants(
orig_token_dict = copy.deepcopy(token_dict)
ndsv = orth_variants.get("single", [])
ndpv = orth_variants.get("paired", [])
logger.debug(f"Data augmentation: {len(ndsv)} single / {len(ndpv)} paired variants")
words = token_dict.get("words", [])
tags = token_dict.get("tags", [])
# keep unmodified if words or tags are not defined