mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-24 01:41:39 +00:00
parent
21c809416d
commit
b3a008f992
@ -137,3 +137,14 @@ def test_not_really_random():
|
|||||||
@raises(ValueError)
|
@raises(ValueError)
|
||||||
def test_not_enough_ascii():
|
def test_not_enough_ascii():
|
||||||
random_ascii_words(lang='zh')
|
random_ascii_words(lang='zh')
|
||||||
|
|
||||||
|
def test_ar():
|
||||||
|
eq_(
|
||||||
|
tokenize('متــــــــعب', 'ar'),
|
||||||
|
['متعب']
|
||||||
|
)
|
||||||
|
|
||||||
|
eq_(
|
||||||
|
tokenize('حَرَكَات', 'ar'),
|
||||||
|
['حركات']
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user