mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-13 05:07:03 +03:00
e8ae2dc8a4
Starting with a reference config file
32 lines
633 B
Batchfile
32 lines
633 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
|
|
|
|
python tests\test_basic_create.py
|
|
|
|
rem py.test tests/ -x
|
|
|
|
rem python -m spacy.en.download
|
|
|
|
@echo Patience ...
|
|
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')])"
|
|
@echo Patience ...
|
|
rem python examples\information_extraction.py
|
|
@echo Patience ...
|
|
rem python examples\matcher_example.py
|
|
|