Commits

Mikhail Korobov committed 65a536c

упростил условие (результаты одни и те же тут). See #5

  • Participants
  • Parent commits e5c2208

Comments (0)

Files changed (1)

pymorphy2/opencorpora_dict/compile.py

     forms, tags = list(zip(*lemma))
     prefixes = [''] * len(tags)
 
-    if len(set(forms)) == 1:
+    if len(forms) == 1:
         stem = forms[0]
     else:
         stem = longest_common_substring(forms)