Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

        def words100k():
    zip_name = data_path('words100k.txt.zip')
    zf = zipfile.ZipFile(zip_name)
    txt = zf.open(zf.namelist()[0]).read().decode('utf8')
    return txt.splitlines()
        


src/d/a/DAWG-Python-HEAD/bench/speed.py   DAWG-Python(Download)
sys.path.insert(0, os.path.join(os.path.dirname(__file__)))
 
from utils import data_path, words100k
 
def random_words(num):
    return _words[:1000]
 
WORDS100k = words100k()
MIXED_WORDS100k = truncated_words(WORDS100k)
NON_WORDS100k = random_words(100000)

src/d/a/DAWG-Python-HEAD/tests/test_fuzzy.py   DAWG-Python(Download)
import dawg_python
 
from .utils import words100k, data_path
 
words = words100k()