ProjetPP / PPP-QuestionParsing-Grammatical

Question Parsing module for the PPP using a grammatical approch
GNU Affero General Public License v3.0
33 stars 11 forks source link

Travis and stanford #86

Closed Ezibenroc closed 9 years ago

Ezibenroc commented 9 years ago

Make travis run the global tests, for a better code coverage. This imply to automatically download and install the Stanford Parser and the corenlp wrapper.

Ezibenroc commented 9 years ago

There is an annoying bug with travis:

[nltk_data] Error downloading 'wordnet' from <http://www.nltk.org/nltk
[nltk_data]     _data/packages/corpora/wordnet.zip>:   [Errno 104]
[nltk_data]     Connection reset by peer
Error installing package. Retry? [n/y/e]

The bug appeared once in Pypy 3 and once in Python 3.2. The installation has also been successful once for both of these.

We need to fix this before merging the pull request.

Ezibenroc commented 9 years ago

@ProgVal, any clue?

progval commented 9 years ago

echo "yyy" | whatever command you run to install nltk data

Ezibenroc commented 9 years ago

I thought about that, but I was sure that you would not like it :)

progval commented 9 years ago

I'm sure I have that kind of loop somewhere in the PPP.

progval commented 9 years ago

Er, actually I meant:

echo "y
y
y
" | python -m nltk.downloader wordnet

(I think it needs a new line character to take it into account)
Ezibenroc commented 9 years ago

Fixed. Is it ok now?