Comments (1)
Please make sure from terminal working directory, there are lib folder (https://github.com/ttpro1995/TreeLSTMSentiment/tree/master/lib)
In python code (https://github.com/ttpro1995/TreeLSTMSentiment/blob/master/scripts/preprocess-sst.py)
# produce dependency parses
classpath = ':'.join([
lib_dir,
os.path.join(lib_dir, 'stanford-parser/stanford-parser.jar'),
os.path.join(lib_dir, 'stanford-parser/stanford-parser-3.5.1-models.jar')])
for filepath in sent_paths:
dependency_parse(filepath, cp=classpath, tokenize=False)
make sure it point to java lib (https://github.com/ttpro1995/TreeLSTMSentiment/tree/master/lib)
from treelstmsentiment.
Related Issues (12)
- "None" in training labels HOT 2
- Constituency trees with only left child
- error : edu.stanford.nlp.trees do not exist HOT 1
- bug in model dependency HOT 2
- bug in testing for fine-grain classification HOT 1
- Doubts about the BInaryTreeLSTM implementation HOT 7
- Problem with Binary classification HOT 2
- Index out of range error for very common case HOT 4
- javac can'not find lib/*.java HOT 3
- Problem with fine-grain classification HOT 3
- What is getParameters() used for? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from treelstmsentiment.