mirror of https://github.com/explosion/spaCy.git
16 lines
227 B
Python
16 lines
227 B
Python
|
import pytest
|
||
|
|
||
|
from spacy.en import EN
|
||
|
|
||
|
def test_range_iter():
|
||
|
EN.load()
|
||
|
for i in range(len(EN.lexicon)):
|
||
|
lex = EN.lexicon[i]
|
||
|
|
||
|
|
||
|
def test_iter():
|
||
|
EN.load()
|
||
|
i = 0
|
||
|
for lex in EN.lexicon:
|
||
|
i += 1
|