spaCy/test-Python27.bat
2015-10-11 20:25:42 +03:00

34 lines
676 B
Batchfile

@echo off
rem Python 2.7 x86-64 spaCy Windows test
IF "%1"=="32" GOTO x86-32
IF "%1"=="64" GOTO x86-64
@echo Usage: test-Python27 32/64
EXIT /B
:x86-32
PATH = D:\Python27-32\;D:\Python27-32\Scripts;%PATH%
GOTO run
:x86-64
PATH = D:\Python27\;D:\Python27\Scripts;%PATH%
:run
@echo This shall be fast ...
python tests\test_basic_create.py
@echo Patience ...
python tests\test_basic_load.py
rem py.test tests/ -x
rem python -m spacy.en.download
rem python -c "import spacy.en; nlp = spacy.en.English(); print([w.text for w in nlp(u'I would like to be a dog')])"
rem python examples\information_extraction.py
@echo Patience ...
rem python examples\matcher_example.py