Skip to content

Commit

Permalink
fixed enum type
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolay-r committed Dec 24, 2021
1 parent c3bdeb4 commit 1efa91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arekit/processing/pos/mystem_wrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def get_terms_russian_cases(self, text):

analyzed = self.__mystem.analyze(text)
for a in analyzed:
pos = self.__extract_from_analysis(a, self.__get_russian_case) if len(analyzed) > 0 else RussianCases.Unknown
pos = self.__extract_from_analysis(a, self.__get_russian_case) if len(analyzed) > 0 else RussianCases.UNKN
cases.append(pos)

return cases
Expand Down

0 comments on commit 1efa91b

Please sign in to comment.