ttpro1995 / TreeLSTMSentiment

Pytorch implementation of Sentiment Classification in Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networks
MIT License
113 stars 40 forks source link

javac can'not find lib/*.java #7

Closed ssnvxia closed 5 years ago

ssnvxia commented 5 years ago

Hello When I run "fetch_and_preprocess.sh", there is an error: javac: can not find file: lib/*.java

ttpro1995 commented 5 years ago

Hi @ssnvxia "fetch_and_preprocess.sh" will look at .java in https://github.com/ttpro1995/TreeLSTMSentiment/tree/master/lib

You may need to open your terminal at project root, so lib/*.java point to right folder

ttpro1995 commented 5 years ago

the script will also run download.py to download 3rd party jar (lib/stanford-parser/stanford-parser.jar:lib/stanford-parser/stanford-parser-3.5.1-models.jar). Make sure you download these file succesfully.

Something might happen when you run behind university/company firewall, so if you can't download something, try on your home network.

ssnvxia commented 5 years ago

Thank you ! I got it