Update Tagger.py
Browse files
Tagger.py
CHANGED
|
@@ -36,7 +36,7 @@ def get_majority_author_sentence(paras_text):
|
|
| 36 |
all_sents.append(s.lower())
|
| 37 |
paras_inds.append(i)
|
| 38 |
ind, score = semantic_match(template, all_sents)
|
| 39 |
-
if score > 0.
|
| 40 |
return all_sents[ind], paras_inds[ind], score
|
| 41 |
else:
|
| 42 |
template = "per curiam"
|
|
|
|
| 36 |
all_sents.append(s.lower())
|
| 37 |
paras_inds.append(i)
|
| 38 |
ind, score = semantic_match(template, all_sents)
|
| 39 |
+
if score > 0.65:
|
| 40 |
return all_sents[ind], paras_inds[ind], score
|
| 41 |
else:
|
| 42 |
template = "per curiam"
|