songyiliao commited on
Commit
36588f0
·
verified ·
1 Parent(s): f2be3fc

Update relative_tester.py

Browse files
Files changed (1) hide show
  1. 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! There are no 2 sentences identified in the input text."
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),