Skip to content

Commit

Permalink
Use corenlp-latest instead of corenlp400 or the date link
Browse files Browse the repository at this point in the history
Get the unzip home from the unzip log
  • Loading branch information
AngledLuffa committed May 12, 2020
1 parent ab650c4 commit bc11026
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ notifications:
email: false
install:
- pip install --quiet -e .
- export CORENLP_HOME=~/corenlp400 CORENLP_VERSION=stanford-corenlp-full-2020-04-20
- export CORENLP_HOME=~/corenlp-latest CORENLP_VERSION=stanford-corenlp-latest
- export CORENLP_URL="http://nlp.stanford.edu/software/${CORENLP_VERSION}.zip"
- wget $CORENLP_URL -O corenlp400.zip
- unzip corenlp400.zip
- mv stanford-corenlp-4.0.0 $CORENLP_HOME
- wget $CORENLP_URL -O corenlp-latest.zip
- unzip corenlp-latest.zip > unzip.log
- export CORENLP_UNZIP=`grep creating unzip.log | head -n 1 | cut -d ":" -f 2`
- mv $CORENLP_UNZIP $CORENLP_HOME
- mkdir ~/stanza_test
- mkdir ~/stanza_test/in
- mkdir ~/stanza_test/out
Expand Down

0 comments on commit bc11026

Please sign in to comment.