2023-05-17 13:45:21 +03:00
|
|
|
import pytest
|
2023-06-14 18:48:41 +03:00
|
|
|
|
2023-05-17 13:45:21 +03:00
|
|
|
from spacy.lang.ms.lex_attrs import like_num
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.parametrize("word", ["sebelas"])
|
|
|
|
def test_ms_lex_attrs_capitals(word):
|
|
|
|
assert like_num(word)
|
|
|
|
assert like_num(word.upper())
|