mirror of https://github.com/explosion/spaCy.git
Auto-format code with black (#10518)
Co-authored-by: explosion-bot <explosion-bot@users.noreply.github.com>
This commit is contained in:
parent
04f3f414d1
commit
bf1cf77a5b
|
@ -529,7 +529,7 @@ def test_tokenizer_initial_special_case_explain(en_vocab):
|
||||||
token_match=re.compile("^id$").match,
|
token_match=re.compile("^id$").match,
|
||||||
rules={
|
rules={
|
||||||
"id": [{"ORTH": "i"}, {"ORTH": "d"}],
|
"id": [{"ORTH": "i"}, {"ORTH": "d"}],
|
||||||
}
|
},
|
||||||
)
|
)
|
||||||
tokens = [t.text for t in tokenizer("id")]
|
tokens = [t.text for t in tokenizer("id")]
|
||||||
explain_tokens = [t[1] for t in tokenizer.explain("id")]
|
explain_tokens = [t[1] for t in tokenizer.explain("id")]
|
||||||
|
|
Loading…
Reference in New Issue