Developing Effective Techniques for the Recognition of Shanghai Dialect Text
Recognizing Shanghai dialect text is crucial for preserving local dialects, yet research on its automatic distinction from Standard Mandarin remains limited. We construct a carefully balanced dataset specifically for the task of Shanghai dialect recognition and propose a two-stage approach for automatic language classification. In the first stage, we employ Jieba tokenization to retain dialect-specific lexical nuances, ensuring essential semantic and syntactic distinctions are captured. Next, we independently trained both a BERT-Chinese-Based classifier and a traditional Support Vector Machine classifier for dialect recognition. The BERT model leverages powerful contextual representations to capture subtle differences between Shanghai dialect and Standard Mandarin, while the Support Vector Machine serves as a conventional baseline. Extensive experiments comparing the two approaches revealed that, although the Support Vector Machine can adequately perform the classification task, the BERT-Based classifier achieves significantly higher accuracy and is more sensitive to the nuanced linguistic features of the dialect. Further analysis through attention visualization reveals how the model specifically attends to unique dialectal features, highlighting distinctive lexical and structural differences between Shanghai dialect and Mandarin text. To the best of our knowledge, this study is the first to apply NLP techniques for language classification between Shanghai dialect and Standard Mandarin, emphasizing the potential for automated dialect recognition as an effective method for dialect documentation and preservation.
Authors
- Mohammad Arifuzzaman (ORCID: https://orcid.org/0000-0002-1280-5813)
- Pierre Gaillard (ORCID: https://orcid.org/0000-0002-7073-8284)
- Tran Duc Le (ORCID: https://orcid.org/0000-0003-3735-0314)
- Yida Bao (ORCID: https://orcid.org/0000-0002-7789-2735)
- Jiafeng Ye
- Qi Li (ORCID: https://orcid.org/0000-0002-0033-6204)
- Zheng Zhang (ORCID: https://orcid.org/0000-0003-1707-624X)
- Jiaqing Lin
- Masuzyo Mwanza
Institutions
- Murray State University (US)
- Shanghai Jiao Tong University (CN)
- University of Wisconsin–Stout (US)
- Augusta University (US)
- Nanjing Foreign Language School (CN)
- Augusta University Health (US)
- Auburn University (US)
- Fisk University (US)
Publication Details
- Journal
- IEEE Access
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/access.2025.3583708
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00