예제 #1
0
def test_en_lex_attrs_like_number_for_ordinal(word):
    assert like_num(word)
def test_en_lex_attrs_capitals(word):
    assert like_num(word)
    assert like_num(word.upper())
예제 #3
0
파일: test_text.py 프로젝트: spacy-io/spaCy
def test_en_lex_attrs_capitals(word):
    assert like_num(word)
    assert like_num(word.upper())