mirror of https://github.com/explosion/spaCy.git
* Upd shape test
This commit is contained in:
parent
68d1cdad62
commit
a42321bd4e
|
@ -9,10 +9,10 @@ def test_capitalized():
|
|||
assert ws('Nasa') == 'Xxxx'
|
||||
|
||||
def test_truncate():
|
||||
assert ws('capitalized') == 'xxxxx'
|
||||
assert ws('capitalized') == 'xxxx'
|
||||
|
||||
def test_digits():
|
||||
assert ws('999999999') == 'ddddd'
|
||||
assert ws('999999999') == 'dddd'
|
||||
|
||||
def test_mix():
|
||||
assert ws('C3P0') == 'XdXd'
|
||||
|
|
Loading…
Reference in New Issue