mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
Fixed typo in Turkish lang. (#10582)
* added failing test case for the issue. * Fixed typo. * fixed typo in test. * added corrected typo word into test_tr_lex_attrs_capitals as param. Test passes. Also tried and confirmed that test is failing after fixing the typo in the test case I wrote. Deleted the test case for typo. Co-authored-by: Yunus Atahan <yunus.atahan@trmotor.local>
This commit is contained in:
parent
f98b41c390
commit
36d3af3013
|
@ -53,7 +53,7 @@ _ordinal_words = [
|
|||
"doksanıncı",
|
||||
"yüzüncü",
|
||||
"bininci",
|
||||
"mliyonuncu",
|
||||
"milyonuncu",
|
||||
"milyarıncı",
|
||||
"trilyonuncu",
|
||||
"katrilyonuncu",
|
||||
|
|
|
@ -41,7 +41,7 @@ def test_tr_lex_attrs_like_number_cardinal_ordinal(word):
|
|||
assert like_num(word)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("word", ["beş", "yedi", "yedinci", "birinci"])
|
||||
@pytest.mark.parametrize("word", ["beş", "yedi", "yedinci", "birinci", "milyonuncu"])
|
||||
def test_tr_lex_attrs_capitals(word):
|
||||
assert like_num(word)
|
||||
assert like_num(word.upper())
|
||||
|
|
Loading…
Reference in New Issue
Block a user