Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
ease
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
ease
Commits
e9eff7a5
Commit
e9eff7a5
authored
May 31, 2014
by
Will Daly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Download only the NLTK data we actually use
parent
ea5770ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.travis.yml
+1
-1
download-nltk-corpus.sh
+2
-2
No files found.
.travis.yml
View file @
e9eff7a5
...
@@ -7,9 +7,9 @@ before_install:
...
@@ -7,9 +7,9 @@ before_install:
-
sudo apt-get update
-
sudo apt-get update
-
sudo xargs -a apt-packages.txt apt-get install --fix-missing
-
sudo xargs -a apt-packages.txt apt-get install --fix-missing
install
:
install
:
-
travis_retry ./download-nltk-corpus.sh
-
pip install -r base-requirements.txt
-
pip install -r base-requirements.txt
-
pip install -r dev-requirements.txt
-
pip install -r dev-requirements.txt
-
sudo apt-get install python-matplotlib python-numpy python-scipy python-sklearn
-
sudo apt-get install python-matplotlib python-numpy python-scipy python-sklearn
-
pip install nltk==2.0.3 scikit-learn==0.12.1
-
pip install nltk==2.0.3 scikit-learn==0.12.1
-
travis_retry ./download-nltk-corpus.sh
script
:
nosetests
script
:
nosetests
download-nltk-corpus.sh
View file @
e9eff7a5
#!/usr/bin/env bash
#!/usr/bin/env bash
curl
-o
/tmp/nltk.tmp.tar.tz http://edx-static.s3.amazonaws.com/nltk/nltk-data-20131113.tar.gz
PYTHON
=
`
which python
`
cd
/usr/share
&&
sudo tar
zxf /tmp/nltk.tmp.tar.tz
sudo
$PYTHON
-m
nltk.downloader stopwords maxent_treebank_pos_tagger wordnet
-d
/usr/local/share/nltk_data
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment