Permalink
Browse files

Tag for Roman numbers is now compatible with OpenCorpora

  • Loading branch information...
1 parent a750c7c commit 01bf59ecd88dbb45c31d527b85ef67b40c5fbb34 @kmike committed Apr 10, 2013
Showing with 4 additions and 4 deletions.
  1. +1 −1 pymorphy2/units/by_shape.py
  2. +3 −3 tests/test_parsing.py
@@ -99,7 +99,7 @@ def check_shape(self, word, word_lower):
class RomanNumberAnalyzer(_SingleShapeAnalyzer):
- TAG_STR = 'NUMB,Romn'
+ TAG_STR = 'ROMN'
terminal = False # give LatinAnalyzer a chance
def check_shape(self, word, word_lower):
View
@@ -77,9 +77,9 @@ def _to_test_data(text):
123 123 NUMB
0 0 NUMB
-I i NUMB,Romn
-MCMLXXXIX mcmlxxxix NUMB,Romn
-XVIII xviii NUMB,Romn
+I i ROMN
+MCMLXXXIX mcmlxxxix ROMN
+XVIII xviii ROMN
# ========= LATN
Foo foo LATN

0 comments on commit 01bf59e

Please sign in to comment.