文本分类已成为诸多领域的关键任务,推动了大量针对各国通用语言的自动化文本分类系统开发研究,但目前对可处理地方语言的自动化文本分类系统需求日益增长。本研究旨在构建一套普什图语文本自动分类系统。为此,我们构建了一个普什图语文档数据集,并应用多种模型以确定最有效的方案,涵盖统计与神经机器学习模型,包括DistilBERT-base-multilingual-cased、多层感知机(Multilayer Perceptron, MLP)、支持向量机、K近邻、决策树、高斯朴素贝叶斯、多项式朴素贝叶斯、随机森林和逻辑回归。我们还评估了两种不同的特征提取方法:词袋模型与词频-逆文档频率(Term Frequency Inverse Document Frequency, TFIDF)。研究结果显示,在单标签多类分类任务中,采用MLP分类算法结合TFIDF特征提取方法的平均测试准确率达到94%;同样地,MLP+TFIDF组合取得了最优结果,F1值为0.81。此外,DistilBERT等预训练语言表示模型在普什图语文本分类中展现出可观效果,但本研究强调,为特定语言开发专用分词器是取得合理结果的重要前提。
英文摘要:
Text classification has become a crucial task in various fields, leading to a significant amount of research on developing automated text classification systems for national and international languages. However, there is a growing need for automated text classification systems that can handle local languages. This study aims to establish an automated classification system for Pashto text. To achieve this goal, we constructed a dataset of Pashto documents and applied various models, including statistical and neural machine learning models such as DistilBERT-base-multilingual-cased, Multilayer Perceptron, Support Vector Machine, K Nearest Neighbor, decision tree, Gaussian naïve Bayes, multinomial naïve Bayes, random forest, and logistic regression, to identify the most effective approach. We also evaluated two different feature extraction methods, bag of words and Term Frequency Inverse Document Frequency. The study achieved an average testing accuracy rate of 94% using the MLP classification algorithm and TFIDF feature extraction method in single-label multiclass classification. Similarly, MLP+TFIDF yielded the best results, with an F1-measure of 0.81. Furthermore, the use of pre-trained language representation models, such as DistilBERT, showed promising results for Pashto text classification; however, the study highlights the importance of developing a specific tokenizer for a particular language to achieve reasonable results.
Enhancing Input-Label Mapping in In-Context Learning with Contrastive Decoding
Beihang University(北航大学);The University of Sydney(悉尼大学);University of Liverpool(利物浦大学);The Hong Kong Polytechnic University(香港理工大学);Nanyang Technological University(南洋理工大学)
UM6P-CS at SemEval-2022 Task 11: Enhancing Multilingual and Code-Mixed Complex Named Entity Recognition via Pseudo Labels using Multilingual Transformer
Mohammed VI Polytechnic University(穆罕默德六世理工大学);Sidi Mohamed Ben Abdellah University(西迪·穆罕默德·本·阿卜杜拉大学);University of Sherbrooke(舍布鲁克大学)