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:
@@ -3,7 +3,11 @@ from abc import abstractmethod
|
||||
from textattack.constraints import Constraint
|
||||
|
||||
|
||||
<<<<<<< HEAD
|
||||
class LanguageModelConstraint(Constraint):
|
||||
=======
|
||||
class LanguageModelConstraint(Constraint, ABC):
|
||||
>>>>>>> master
|
||||
"""
|
||||
Determines if two sentences have a swapped word that has a similar
|
||||
probability according to a language model.
|
||||
|
||||
Reference in New Issue
Block a user