Spaces:
Sleeping
Sleeping
Update relative_tester.py
Browse files- relative_tester.py +1 -1
relative_tester.py
CHANGED
@@ -30,7 +30,7 @@ class RelativeTester:
|
|
30 |
feature_for_sents = self.feature_extractor.process_sents(sents, False)
|
31 |
if len(feature_for_sents) <= 1:
|
32 |
# print("DEBUG: tooshort")
|
33 |
-
return "Too short to test!
|
34 |
# Cutoff the features
|
35 |
min_len = min(
|
36 |
len(feature_for_sents),
|
|
|
30 |
feature_for_sents = self.feature_extractor.process_sents(sents, False)
|
31 |
if len(feature_for_sents) <= 1:
|
32 |
# print("DEBUG: tooshort")
|
33 |
+
return "Too short to test! Please input at least 2 sentences with more than 5 words."
|
34 |
# Cutoff the features
|
35 |
min_len = min(
|
36 |
len(feature_for_sents),
|