We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0da95d8 commit e98c801Copy full SHA for e98c801
1 file changed
textattack/constraints/semantics/word_embedding_distance.py
@@ -69,7 +69,7 @@ def _check_constraint(self, transformed_text, reference_text):
69
i >= len(reference_text.words) or i >= len(transformed_text.words)
70
for i in indices
71
):
72
- return false
+ return False
73
74
for i in indices:
75
ref_word = reference_text.words[i]
0 commit comments