1
0
mirror of https://github.com/QData/TextAttack.git synced 2021-10-13 00:05:06 +03:00

merge from master

This commit is contained in:
Jin Yong Yoo
2020-07-06 10:50:17 -04:00
110 changed files with 1622 additions and 648 deletions

View File

@@ -57,4 +57,9 @@ class PreTransformationConstraint(ABC):
"""
return []
__str__ = __repr__ = default_class_repr
def _check_constraint(self):
raise RuntimeError(
"PreTransformationConstraints do not support `_check_constraint()`."
)
__str__ = __repr__ = default_class_repr