We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6b7ebfb + 068920b commit 973a7beCopy full SHA for 973a7be
constants.py
@@ -81,7 +81,7 @@
81
}
82
83
SPACY_LANGUAGE_MAP = {
84
- 'ENG': 'es',
+ 'ENG': 'en',
85
'GER': 'de',
86
'SPA': 'es',
87
'POR': 'pt',
quickumls.py
@@ -308,7 +308,7 @@ def _select_score(match):
308
309
@staticmethod
310
def _select_longest(match):
311
- return (match[0]['similarity'], (match[0]['end'] - match[0]['start']))
+ return ((match[0]['end'] - match[0]['start']), match[0]['similarity'])
312
313
def _select_terms(self, matches):
314
sort_func = (
0 commit comments