teapot123 / JASen

Code and Data for our EMNLP-2020 paper Weakly-Supervised Aspect-Based Sentiment Analysis via Joint Aspect-Sentiment Topic Embedding.
49 stars 5 forks source link

Do we have a python version? thank you! #2

Closed johnson7788 closed 3 years ago

johnson7788 commented 3 years ago

Do we have a python version?

teapot123 commented 3 years ago

Hi Johnson, Thanks for asking! For the embedding training part, we only have the c implementation by modifying the original Word2Vec code. This is because c version is rather efficient in embedding training on large corpus than a python version. However, after we obtain the word and topic embeddings, we use convolutional neural nets to further finetune the results. The neural net part is implemented in python version (in evaluation.py) and takes the trained embedding as input. I am not sure are you interested in the python version of the embedding part or the neural net part?