├── .gitattributes ├── LICENSE ├── README.md ├── common_options.py ├── cycle_options.py ├── cycle_training.py ├── data └── yelp │ ├── dev.txt │ ├── pseudo_JS_paired.txt │ ├── reference.txt │ ├── test.txt │ ├── train.txt │ └── vocab ├── image ├── CycleRL.jpg ├── Seq2SentiSeq.jpg └── example.jpg ├── outputs └── yelp │ ├── RevisedVAE+extra │ ├── test.tsf │ └── test_has_source.tsf │ ├── RevisedVAE │ ├── test.tsf │ └── test_has_source.tsf │ ├── SC-Seq2Seq │ ├── test.tsf │ └── test_has_source.tsf │ └── Seq2SentiSeq │ ├── test.tsf │ └── test_has_source.tsf ├── regressor ├── __init__.py ├── main.py ├── model.py └── options.py ├── seq2sentiseq ├── __init__.py ├── main.py ├── model.py └── options.py └── utils ├── __init__.py ├── constants.py ├── data.py ├── evaluator.py ├── noise.py ├── optim.py ├── script └── multi-bleu.perl └── vocab.py /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/.gitattributes -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/README.md -------------------------------------------------------------------------------- /common_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/common_options.py -------------------------------------------------------------------------------- /cycle_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/cycle_options.py -------------------------------------------------------------------------------- /cycle_training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/cycle_training.py -------------------------------------------------------------------------------- /data/yelp/dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/data/yelp/dev.txt -------------------------------------------------------------------------------- /data/yelp/pseudo_JS_paired.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/data/yelp/pseudo_JS_paired.txt -------------------------------------------------------------------------------- /data/yelp/reference.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/data/yelp/reference.txt -------------------------------------------------------------------------------- /data/yelp/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/data/yelp/test.txt -------------------------------------------------------------------------------- /data/yelp/train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/data/yelp/train.txt -------------------------------------------------------------------------------- /data/yelp/vocab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/data/yelp/vocab -------------------------------------------------------------------------------- /image/CycleRL.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/image/CycleRL.jpg -------------------------------------------------------------------------------- /image/Seq2SentiSeq.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/image/Seq2SentiSeq.jpg -------------------------------------------------------------------------------- /image/example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/image/example.jpg -------------------------------------------------------------------------------- /outputs/yelp/RevisedVAE+extra/test.tsf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/outputs/yelp/RevisedVAE+extra/test.tsf -------------------------------------------------------------------------------- /outputs/yelp/RevisedVAE+extra/test_has_source.tsf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/outputs/yelp/RevisedVAE+extra/test_has_source.tsf -------------------------------------------------------------------------------- /outputs/yelp/RevisedVAE/test.tsf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/outputs/yelp/RevisedVAE/test.tsf -------------------------------------------------------------------------------- /outputs/yelp/RevisedVAE/test_has_source.tsf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/outputs/yelp/RevisedVAE/test_has_source.tsf -------------------------------------------------------------------------------- /outputs/yelp/SC-Seq2Seq/test.tsf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/outputs/yelp/SC-Seq2Seq/test.tsf -------------------------------------------------------------------------------- /outputs/yelp/SC-Seq2Seq/test_has_source.tsf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/outputs/yelp/SC-Seq2Seq/test_has_source.tsf -------------------------------------------------------------------------------- /outputs/yelp/Seq2SentiSeq/test.tsf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/outputs/yelp/Seq2SentiSeq/test.tsf -------------------------------------------------------------------------------- /outputs/yelp/Seq2SentiSeq/test_has_source.tsf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/outputs/yelp/Seq2SentiSeq/test_has_source.tsf -------------------------------------------------------------------------------- /regressor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/regressor/__init__.py -------------------------------------------------------------------------------- /regressor/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/regressor/main.py -------------------------------------------------------------------------------- /regressor/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/regressor/model.py -------------------------------------------------------------------------------- /regressor/options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/regressor/options.py -------------------------------------------------------------------------------- /seq2sentiseq/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/seq2sentiseq/__init__.py -------------------------------------------------------------------------------- /seq2sentiseq/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/seq2sentiseq/main.py -------------------------------------------------------------------------------- /seq2sentiseq/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/seq2sentiseq/model.py -------------------------------------------------------------------------------- /seq2sentiseq/options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/seq2sentiseq/options.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/utils/__init__.py -------------------------------------------------------------------------------- /utils/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/utils/constants.py -------------------------------------------------------------------------------- /utils/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/utils/data.py -------------------------------------------------------------------------------- /utils/evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/utils/evaluator.py -------------------------------------------------------------------------------- /utils/noise.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/utils/noise.py -------------------------------------------------------------------------------- /utils/optim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/utils/optim.py -------------------------------------------------------------------------------- /utils/script/multi-bleu.perl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/utils/script/multi-bleu.perl -------------------------------------------------------------------------------- /utils/vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luofuli/Fine-grained-Sentiment-Transfer/HEAD/utils/vocab.py --------------------------------------------------------------------------------