supunab / aspect-extraction

Several aspect extraction methods tried

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"

About

Several aspect extraction methods tried


Languages

Language:Jupyter Notebook 99.6%Language:Python 0.4%