* Remove test for loading ad hoc rules format

This commit is contained in:
Matthew Honnibal 2014-12-09 16:08:45 +11:00
parent 6369835306
commit 516f0f1e14
1 changed files with 0 additions and 11 deletions

View File

@ -1,11 +0,0 @@
from spacy import util
def test_load_en():
rules = util.read_tokenization('en')
assert len(rules) != 0
aint = [rule for rule in rules if rule[0] == "ain't"][0]
chunk, pieces = aint
assert chunk == "ain't"
assert pieces[0] == "are"
assert pieces[1] == "not"