We calculate aspect scores using two approaches:
- conditional probability from dataset
- a domain ontology
We incorporate these scores into our neural architecture to find the sentiment of a textual review. The scores are used to initialize a trainable layer of the neural architecture.
Domain: Restaurant, Movie, Music, Uber Rides
- Run glove_embeddings.py if corresponding pickle files are already not created
- Run preprocessing.py if corresponding pickle files are already not created
- Run model.py
P.S: Read the commented introduction in each of the files mentioned to run the commands correctly.