项目作者: supunab

项目描述 :
Several aspect extraction methods tried
高级语言: Jupyter Notebook
项目地址: git://github.com/supunab/aspect-extraction.git
创建时间: 2018-05-23T17:48:16Z
项目社区:https://github.com/supunab/aspect-extraction

开源协议:

下载


aspect-extraction

Model tried for the task of Aspect Extraction

How to run examples

LSTM CRF with POS Tags as features

Put lstm_crf_pos_run.py, word2id.pickle and best_model_lstm_crf_pos.pt files in same directory.
Run lstm_crf_pos_run.py with sentence within quotes as a command line argument. (Python 2.7)

Eg : python lstm_crf_pos_run.py "I like itallian pizza"