Aspect-based sentiment analysis (ABSA) has become a prevalent task in recent years. However, the absence of a unified framework in the present ABSA research makes it challenging to compare different models' performance fairly. Therefore, we created an open-source ABSA framework, namely PYABSA. Besides, previous efforts usually neglect the precursor aspect term extraction (ASC) subtask and focus on the aspect sentiment classification (ATE) subtask. Compared to previous works, PYABSA includes the features of aspect term extraction, aspect sentiment classification, and text classification, while multiple ABSA subtasks can be adapted to PYABSA owing to its modular architecture. To facilitate ABSA applications, PYABSAseamless integrates multilingual modelling, automated dataset annotation, etc., which are helpful in deploying ABSA services. In ASC and ATE, PYABSA provides up to 33 and 7 built-in models, respectively, while all the models provide quick training and instant inference. Besides, PYABSA contains 180K+ ABSA instances from 21 augmented ABSA datasets for applications and studies. PyABSA is available at https://github.com/yangheng95/PyABSA
翻译:近年来,基于视觉的情绪分析(ABSA)已成为一项普遍的任务,然而,由于目前ABSA研究缺乏统一的框架,因此难以公平地比较不同模型的性能,因此,我们创建了开放源代码的ABSA框架,即PYABSA;此外,以往的努力通常忽视前体术语提取(ASC)子任务,侧重于情感分类(ATE)子任务。与以往的工程相比,PYABSA包括了方面术语提取、情绪特征分类和文本分类等特征,而多种ABSA子任务由于其模块结构,可以适用于PYABSA。为了便利ABSA应用,PYABSA无线整合了多语制建模、自动数据设置说明等,这有助于部署ABSA服务。在ASC和ATE中,PYABSA提供多达33和7个建构型模型,而所有模型都提供快速培训和即时推断。此外,PYABSA包含21个扩充的ABSA/MASHA数据库的180K+ABA实例,供应用和研究使用。