Skip to content

HKUST-KnowComp/VWS-DMSC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VWS-DMSC

  • Source code for NAACL 2019 paper A Variational Approach to Weakly Supervised Document-Level Multi-Aspect Sentiment Classification

Requirements

* Python3
* tensorflow-gpu 1.6 -- 1.10
* tqdm
* munkres

Usage

To predict the polarity of all aspects on both dataset

sh test.sh

To predict the polarity of aspect 0 (could be 0-6) on tripadvisor

python tripadvisor.py --aspect 0

To predict the polarity of aspect 0 (could be 0-3) on beer

python beer.py --aspect 0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published