Quant-NLP / SPDAug-ABSA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SPDAug-ABSA

Requirements

python >= 3.6.0, Install all the requirements with pip.

$ pip install -r requirements.txt

We require bert-sklearn and seqeval for ATE.

Getting Started

ABSA_task : ACSC, ATSC, ATE, SC

dataset : lap14, rest14, rest15, rest16, MR, SST

SPM_type : AS, Senti

replacement_strategy : AE, Seq2Seq

bash scripts/run.sh ABSA_task dataset SPM_type replacement_strategy

# e.g. bash scripts/run.sh ACSC rest14 AS AE

About


Languages

Language:Python 99.4%Language:Shell 0.6%