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

28 lines
563 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
rem python -m spacy.en.download
@echo Patience ...
python -c "import spacy.en; nlp = spacy.en.English(); print([w.text for w in nlp(u'I would like to be a dog')])"
@echo Patience ...
python examples\information_extraction.py
@echo Patience ...
python examples\matcher_example.py