csiro-hydrogeology / pyela

Python package for Exploratory Lithology Analysis
Other
22 stars 5 forks source link

Travis build - missing nltk data sets makes one unit test fail #1

Closed jmp75 closed 5 years ago

jmp75 commented 5 years ago
=================================== FAILURES ===================================
_____________________________ test_v_word_tokenize _____________________________
    def test_v_word_tokenize():
        descriptions = ['yellow, slightly clayey sand','75% sand, 20% silt, 5% gravel']
>       tkns = v_word_tokenize(descriptions)
tests/test_textproc.py:40: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
ela/textproc.py:86: in v_word_tokenize
    return [nltk.word_tokenize(y) for y in descriptions]