PERCEPT: A Corpus for POS Tagging and Analysis of Persian-English Code-Mixing
Summary
This paper introduces PERCEPT, the first large-scale Persian–English code-mixed corpus annotated with Universal Dependencies POS tags, collected from X, Instagram, and Digikala. It presents an LLM-assisted annotation framework and analyzes code-mixing patterns across platforms.
View Cached Full Text
Cached at: 08/12/26, 08:32 AM
# PERCEPT: A Corpus for POS Tagging and Analysis of Persian–English Code-Mixing Source: [https://arxiv.org/html/2608.10109](https://arxiv.org/html/2608.10109) Ghazal Kalhor1Zahra Jafari2Amirarsalan Shahbazi111footnotemark:1Behnam Bahrak3 1School of Electrical and Computer Engineering, College of Engineering, University of Tehran, Tehran, Iran 2School of Engineering Science, College of Engineering, University of Tehran, Tehran, Iran 3Tehran Institute for Advanced Studies, Khatam University, Tehran, Iran Correspondence:[kalhor\.ghazal@ut\.ac\.ir](mailto:[email protected]),[b\.bahrak@teias\.institute](mailto:[email protected]) ###### Abstract Social media has become a major venue for multilingual communication, where users frequently mix multiple languages within a single utterance\. Although code\-mixed corpora have been developed for several language pairs, Persian–English code\-mixing remains relatively underexplored\. Existing Persian resources lack Universal Dependencies \(UD\) part\-of\-speech \(POS\) annotations for code\-mixed words, limiting both linguistic analyses and the development of syntax\-aware NLP models\. To address this gap, we introducePERCEPT, the first publicly available large\-scale Persian–English code\-mixed corpus annotated with Universal Dependencies POS tags for code\-mixed words\. The dataset comprises 6,800 posts collected from X, Instagram, and Digikala\. We further present an LLM\-assisted annotation framework that automatically assigns POS tags and document\-level topics\. Human evaluation demonstrates high agreement between the automatically generated annotations and gold annotations, confirming the reliability of the annotations\. UsingPERCEPT, we conduct the first comprehensive linguistic analysis of Persian–English code\-mixing across multiple social media platforms\. Our analyses reveal that nouns are the predominant category for code\-mixed words, while the distributions of other POS categories vary across platforms\. We further find that the positional distribution of code\-mixed words is remarkably consistent across platforms, whereas the triggering effect is substantially more pronounced in Digikala\.PERCEPTis publicly available at[\\ttfamilyhttps://github\.com/kalhorghazal/PERCEPT](https://github.com/kalhorghazal/PERCEPT)\. PERCEPT: A Corpus for POS Tagging and Analysis of Persian–English Code\-Mixing Ghazal Kalhor1Zahra Jafari2††thanks:Equal contribution\.Amirarsalan Shahbazi111footnotemark:1Behnam Bahrak31School of Electrical and Computer Engineering, College of Engineering, University of Tehran, Tehran, Iran2School of Engineering Science, College of Engineering, University of Tehran, Tehran, Iran3Tehran Institute for Advanced Studies, Khatam University, Tehran, IranCorrespondence:[kalhor\.ghazal@ut\.ac\.ir](mailto:[email protected]),[b\.bahrak@teias\.institute](mailto:[email protected]) Figure 1:Pipeline illustrating the steps for data annotation and statistical analysis of Persian–English code\-mixed text\.## 1Introduction Social media has become one of the primary settings in which multilingual speakers communicate\. In these environments, users frequently mix elements from multiple languages within the same utterance, a phenomenon commonly referred to ascode\-mixingnordin2023code\. Persian\-speaking users are no exception, often incorporating English words and expressions into otherwise Persian posts on platforms such as X \(formerly Twitter\), Instagram, and Digikala\. Understanding how code\-mixing is realized in Persian is important not only for linguistic research but also for the development of robust natural language processing \(NLP\) systems\. The presence of multiple languages, transliterated words, and inconsistent spelling introduces additional challenges for tasks such as tokenization, language identification, part\-of\-speech \(POS\) tagging, syntactic parsing, and sentiment analysisvyas2014pos;barman2019automatic;singh2018automatic\. Despite the growing body of work on code\-mixed NLP, Persian–English code\-mixing remains comparatively underexplored\. Although code\-mixed corpora have been introduced for several language pairs, including Malayalam–Englishchakravarthi2020sentiment, Bengali–Englishalam2025bnsentmix, Hindi–Englishkumar2018aggression, and Sinhala–Englishuthpala2024sinhala, comparable resources for Persian remain scarce\. Existing Persian datasets primarily target language identificationghafouri2025pinlidor sentiment analysissabri2021sentimentand do not provide POS annotations for code\-mixed words, limiting both linguistic analyses and the development of syntax\-aware NLP models\. To address this gap, we introducePERCEPT, a dataset of 6,800 Persian–English code\-mixed posts collected from three major social media and e\-commerce platforms: X, Instagram, and Digikala\. The dataset contains code\-mixed words written both in English and transliterated into Persian\. Using Gemini 3\.5 Flashgoogle2026gemini35, a state\-of\-the\-art large language model \(LLM\) in the Gemini family that has shown strong performance on Persian\-language tasks,111[\\ttfamilyhttps://mcinext\-mizan\-llm\-leaderboard\.hf\.space/](https://mcinext-mizan-llm-leaderboard.hf.space/)we automatically identify the POS of each code\-mixed word according to the Universal Dependencies tagset and assign a topic label to every text\. Human validation demonstrates high agreement between the automatically generated annotations and gold annotations, confirming the reliability of the resulting dataset\. Beyond introducing a new resource,PERCEPTenables a comprehensive empirical analysis of Persian–English code\-mixing\. Specifically, we investigate four questions: \(1\) which POS categories are most likely to host code\-mixing; \(2\) where code\-mixed words tend to occur within an utterance; \(3\) whether code\-mixing exhibits a triggering effect by recurring within the same text; and \(4\) how the degree of code\-mixing varies across discussion topics\. Our analyses reveal that code\-mixing in Persian social media is predominantly realized through nouns, while the distributions of other POS categories vary across platforms\. We further find that the positional distribution of code\-mixed words is remarkably consistent across X, Instagram, and Digikala, whereas the triggering effect is substantially more pronounced in Digikala\. Finally, our topical analysis shows that texts related toIndustry & CommerceandBrand & Businessexhibit the highest degree of code\-mixing\. The main contributions of this work are as follows: - •We introducePERCEPT, the first large\-scale Persian–English code\-mixed corpus annotated with Universal Dependencies POS tags for code\-mixed words and document\-level topic labels\. - •We propose an LLM\-assisted annotation framework for constructing linguistically annotated code\-mixed corpora and demonstrate its reliability through human validation\. - •We present the first large\-scale empirical analysis of Persian–English code\-mixing across multiple social media platforms, providing insights into POS distributions, positional preferences, triggering effects, and topical variation\. ## 2Related Work #### Code\-Mixed Corpora Several code\-mixed corpora have been introduced for language pairs in which English serves as the embedded language\.chakravarthi2020sentimentpropose a dataset of 6,739 Malayalam–English code\-mixed YouTube comments annotated for sentiment analysis\. Similarly,alam2025bnsentmixintroduce a dataset of 20,000 Bengali–English code\-mixed texts collected from Facebook, YouTube, and e\-commerce platforms, whilekumar2018aggressioncompiles a Hindi–English code\-mixed dataset from Facebook and Twitter for aggression detection\.uthpala2024sinhalaalso create a Sinhala–English code\-mixed dataset from YouTube comments for sentiment analysis\. Although these resources have substantially advanced research on code\-mixed NLP, most focus on downstream applications such as sentiment analysis, while linguistically annotated corpora supporting tasks such as POS tagging remain relatively scarce\. #### Code\-Mixed POS Tagging Given the challenges associated with POS tagging of code\-mixed text, only a limited number of studies have introduced annotated datasets for this task\.barman2016partemploy various approaches, including pipeline, stacking, and joint modeling, to POS\-tag trilingual English–Bengali–Hindi code\-mixed data collected from Facebook posts and comments\.singh2018twitterpropose a POS\-tagged dataset of 1,489 Hindi–English code\-mixed tweets\. More recently,sheth2025comiintroduce COMI\-LINGUA, an expert\-annotated dataset of 125,615 Hindi–English code\-mixed texts for multiple NLP tasks, including POS tagging and named entity recognition\. The dataset is constructed from news portals and official digital archives, covering a wide range of topics\. However, to the best of our knowledge, no publicly available large\-scale POS\-annotated dataset currently exists for Persian–English code\-mixed text\. #### Persian Resources Only a limited number of studies have investigated Persian–English code\-mixed text and speech\.sabri2021sentimentcollected 3,640 tweets by searching for a list of 44 English words transliterated into Persian and manually annotated the data for sentiment analysis\. In another study,moradi2019structuralinvestigated the structural characteristics of Persian–English code\-mixing and code\-switching through interviews with bilingual Iranian students\. More recently,ghafouri2025pinlidintroduced PinLID, a dataset of 6,915 Persian–English code\-mixed tweets collected by searching for English words in Persian tweets\. However, the dataset does not consider English words transliterated into Persian, and its analysis is limited to sentence\- and token\-level language identification\. In contrast,PERCEPTprovides the first large\-scale POS\-annotated Persian–English code\-mixed corpus, covering both English\-script and transliterated English words, thereby enabling fine\-grained linguistic analyses beyond language identification\. ## 3PERCEPT Dataset To construct our dataset, we consider three major social media and e\-commerce platforms: X, Instagram, and Digikala\.222[\\ttfamilyhttps://www\.digikala\.com/](https://www.digikala.com/)These platforms cover a diverse range of topics and are widely used by Persian\-speaking users, who often write in a conversational style\. Because our study requires a large collection of tweets and comments, we begin by examining recent studies that have collected and published Persian\-language data from these platforms\. Table[1](https://arxiv.org/html/2608.10109#S3.T1)provides an overview of the datasets used in our study, along with their statistics\. For datasets that include offensive\-language annotations, we retain only the instances labeled asclean\. For the remaining datasets, we manually remove offensive content\. After this filtering process, the final dataset consists of 5,627 texts, including 2,845 tweets from X, 1,463 comments from Instagram, and 1,319 comments from Digikala\. Table 1:Statistics of datasets used to construct PERCEPT, including source, platform, and number of analyzed and retained instances\.We then apply the POS annotation prompts, which are described later, to the 2,845 collected tweets\. Based on the annotation results, we identify the most frequent Persian–English code\-mixed words written in Persian script\. For the 71 most frequent code\-mixed words, we manually search X for at least 20 tweets per word, whenever available, using queries of the form\\ttfamily\("code\-mixed word"\) lang:fa \-is:retweet \-is:reply since:2026\-01\-01\. This query ensures that the retrieved posts contain the target code\-mixed word, are written in Persian, and were published after the beginning of 2026, thereby avoiding overlap with the tweets included in previous studies, all of which were collected before 2026\. After removing offensive tweets, we obtain 1,173 additional tweets\. Combined with the previously collected data, our final dataset consists of 6,800 texts containing code\-mixed words\. Before performing the annotations, we anonymize all texts by replacing user mentions with\\ttfamily@username and URLs with\\ttfamilywww\.link\.com\. Figure[1](https://arxiv.org/html/2608.10109#S0.F1)summarizes the overall pipeline used to construct and analyze thePERCEPTdataset\. We next describe each annotation stage in detail\. ### 3\.1POS Annotation To assign part\-of\-speech tags to code\-mixed words in tweets and comments, we query Gemini 3\.5 Flash, providing it with batches of 50 or 100 texts and asking it to identify and POS\-tag English or English\-transliterated words in each text\. For all API calls, we set the temperature to 0 and top\-ppto 1 to prioritize deterministic and accurate outputs over creative generation\. Additionally, for tweets collected through keyword search on X, where the presence of code\-mixed words is guaranteed by the retrieval procedure, we rerun the annotation prompt up to three additional times in cases where the model returns no code\-mixed words, which may occur due to occasional annotation failures\. This prompting step inherently classifies the texts intocode\-mixedandnon\-code\-mixed; therefore, we discard texts that contain no code\-mixed words\. We instruct the model to assign one of the 17 Universal Dependencies \(UD\) part\-of\-speech tags \(\\ttfamilyADJ,\\ttfamilyADP,\\ttfamilyADV,\\ttfamilyAUX,\\ttfamilyCCONJ,\\ttfamilyDET,\\ttfamilyINTJ,\\ttfamilyNOUN,\\ttfamilyNUM,\\ttfamilyPART,\\ttfamilyPRON,\\ttfamilyPROPN,\\ttfamilyPUNCT,\\ttfamilySCONJ,\\ttfamilySYM,\\ttfamilyVERB, and\\ttfamilyX\)de2021universalto each identified code\-mixed word\. The\\ttfamilyX tag is reserved for words whose part of speech cannot be determined or that do not fit any of the other categories, and we manually inspect all such cases\. For English\-transliterated words that are well\-established and widely used loanwords in Persian, we instruct the model not to treat them as code\-mixed\. Mentions and hashtags are also excluded from the code\-mixing analysis\. Moreover, English\-transliterated proper nouns, including names of people, diseases and medications, medical terms, sports teams, companies and brands, phone and car models, cities and countries, movies and books, and social media platforms \(e\.g\., Twitter, Instagram, and YouTube\), are likewise excluded from the code\-mixing analysis\. Because each platform contains specific English keywords that are naturally and widely used by its users, such astimelineandfave staron Twitter,storyandliveon Instagram, andDigiPayandDigiExpresson Digikala, we design platform\-specific prompts and instruct the LLM not to treat these items as code\-mixed when they appear in Persian script\. Appendix[A](https://arxiv.org/html/2608.10109#A1)provides the platform\-specific POS annotation prompts, together with their English translations\. To evaluate the reliability of the automatic annotations, we randomly sample 150 texts fromPERCEPT, containing 268 code\-mixed words, with an equal number of texts \(50\) selected from each platform\. Two native Persian\-speaking annotators with prior NLP coursework independently verify the automatically identified code\-mixed tokens and their UPOS tags following the Universal Dependencies guidelines\. Annotators are instructed not to use AI assistance\. Inter\-annotator agreement yields a precision of 81\.2%, a recall of 91\.5%, and an F1 score of 86\.0% for code\-mixed token identification\. For POS tagging, the annotators achieve a Cohen’sκ\\kappaof 0\.894 with 93\.2% observed agreement, indicating almost perfect agreement\. Disagreements are subsequently adjudicated by the first author to produce the final gold annotations\. We then compare LLM’s annotations with the gold labels\. For code\-mixed token identification, LLM achieves a precision of 95\.5%, a recall of 86\.6%, and an F1 score of 90\.8%\. For POS tagging of correctly identified code\-mixed tokens, LLM achieves an accuracy of 97\.0% and a macro F1 score of 76\.8%\. Considering the complete annotation pipeline, including both token identification and POS assignment, LLM achieves an F1 score of 88\.1%\. These results indicate that LLM\-generated annotations closely align with human annotations, supporting the reliability of the automatic annotation process\. ### 3\.2Topic Detection To identify the topics of tweets and comments, we employ Gemini 3\.5 Flash, following the same approach as in the previous section\. In each prompt, we provide the LLM with 50 texts along with definitions of seven topics, each accompanied by several examples, to facilitate accurate topic classification\. The topics include Brand & Business, Industry & Commerce, Current Events & News, Lifestyle & Personal Interests, Arts, Entertainment & Culture, Society & Identity, and Platform\-Specific & Meta Topics\. Together, these categories cover a broad spectrum of topics discussed by Persian users on X, Instagram, and Digikala\. If a text cannot be confidently assigned to any of the predefined categories, it is labeled asother\. This option is available to both the LLM and the human annotators to avoid forcing an inappropriate topic assignment\. Appendix[A\.2](https://arxiv.org/html/2608.10109#A1.SS2)provides the prompt used for topic detection, together with its English translation\. To validate the automatic topic annotations, we use the same sample employed for the human validation of POS tagging\. Two annotators independently annotate the topic of each text without access to the labels generated by Gemini, following the annotation guidelines provided in the prompt \(see Appendix[B](https://arxiv.org/html/2608.10109#A2)for the complete annotation guidelines\)\. Inter\-annotator agreement achieves a Cohen’sκ\\kappaof 0\.738 with 79\.3% observed agreement, indicating substantial agreement between the annotators\. After establishing the gold annotations, we evaluate the alignment between Gemini\-generated topic labels and the human\-annotated gold labels\. Gemini achieves a Cohen’sκ\\kappaof 0\.808 and Krippendorff’sα\\alphaof 0\.808, indicating substantial agreement with human judgments\. The model obtains an observed agreement of 84\.7%, with a weighted F1\-score of 84\.4% and a macro F1\-score of 65\.6%\. While the weighted F1 reflects the overall accuracy under the original topic distribution, the lower macro F1 indicates that performance varies across topics, particularly for less frequent categories\. ## 4Main Results ### 4\.1POS Distribution Table[2](https://arxiv.org/html/2608.10109#S4.T2)presents the distribution of Universal POS tags among code\-mixed words across the three platforms\. Overall,\\ttfamilyNOUN is by far the most frequent POS category on all platforms, accounting for 60\.4% of code\-mixed words in X, 59\.9% in Instagram, and 45\.4% in Digikala\. The remaining distributions differ across platforms:\\ttfamilyVERB is the second most frequent category in X, whereas\\ttfamilyADJ ranks second in Instagram and\\ttfamilyPROPN in Digikala\. These findings indicate that code\-mixing predominantly occurs in nouns, while the secondary patterns appear to reflect platform\-specific language use\. This observation is consistent with prior studies of English code\-mixing in other languages, which likewise report the predominance of nouns and adjectives among POS categories in social media textfarooq2026morphosyntactic;dongen2017analysis\. Additionally, the unusually high proportion of\\ttfamilyPROPN in Digikala is likely attributable to the frequent use of English brand names and product model names in e\-commerce listings, a pattern that has also been observed in advertising in other languagesjia2008glocalization\. Table 2:Distribution of code\-mixed words across POS categories by platform\. Each cell reports the number of words and the percentage of code\-mixed words within the corresponding platform\. ### 4\.2Mixing Position To analyze the position of code\-mixing within utterances, we compute the character\-level start offset of each code\-mixed word in the original text\. Each occurrence is assigned a normalized position by dividing its start offset by the total character length of the utterance\. We then categorize occurrences into initial \(≤33%\), medial \(33–66%\), and final \(\>66%\) positions\. Table[3](https://arxiv.org/html/2608.10109#S4.T3)presents the distribution of code\-mixed word positions across the three platforms\. The positional distributions are highly consistent, with approximately one\-third of code\-mixed words occurring in the initial and medial positions and slightly fewer in the final position\. To assess whether these differences are statistically significant, we perform a chi\-square test of independence, which finds no significant association between platform and code\-mixed word position \(χ2\(4\)=8\.38\\chi^\{2\}\(4\)=8\.38,p=0\.079p=0\.079\)\. This result further supports the observed consistency of positional distributions across platforms\. Table 3:Distribution of code\-mixed words across positional categories per platform\. Each cell shows count / percentage\. Percentages are computed relative to the total number of code\-mixed words in that platform \(or overall\)\. ### 4\.3Triggering Effect To operationalize the triggering effect at the utterance level, we measure the proportion of utterances containing more than one code\-mixed word\. Specifically, we compute the proportion of utterances with multiple code\-mixed words for each platform\. Since utterance length can affect the likelihood of observing multiple code\-mixed words, we additionally control for length differences across platforms by computing the triggering rate within utterance\-length groups and averaging across groups\. Table[4](https://arxiv.org/html/2608.10109#S4.T4)presents the length\-controlled number and percentage of utterances exhibiting the triggering effect for each platform and overall\. Digikala exhibits the highest triggering effect \(42\.0%\), indicating that code\-mixed words are more likely to co\-occur within the same utterance on this platform\. This pattern may be attributable to the nature of e\-commerce platforms, where users frequently mention multiple product features, brand names, or technical specifications within a single review\. X ranks second, with 27% of utterances containing multiple code\-mixed words, while Instagram shows the lowest proportion \(10\.2%\)\. Table 4:Length\-controlled triggering effect of code\-mixing across platforms\. Each cell shows the number of utterances with more than one code\-mixed word and the corresponding adjusted percentage\. ### 4\.4Topic Variation To assess how the degree of code\-mixing varies across discussion topics, we calculate the mean number of code\-mixed words per utterance for each platform–topic combination\. Figure[2](https://arxiv.org/html/2608.10109#S4.F2)presents these values\. Across all three platforms,Industry & CommerceandBrand & Businessexhibit the highest mean number of code\-mixed words per utterance, indicating that discussions related to commercial activities and brands consistently involve a greater degree of code\-mixing than other topics\. One possible explanation is that many technology\- and commerce\-related concepts are commonly referred to by their English names in informal Persian, even when Persian equivalents existsahranavard2025english\. While these two topics consistently rank highest, the influence of topic varies substantially across platforms\. On Instagram, the mean number of code\-mixed words remains nearly constant across all topics \(1\.1–1\.2\), suggesting that once users code\-mix, they typically insert only a single English word regardless of the discussion topic\. In contrast, Twitter \(X\) exhibits moderate variation across topics, whereas Digikala shows the strongest topic dependence, with commerce\-related discussions containing substantially more code\-mixed words than other topics\. This pattern is expected, as Digikala discussions are primarily centered on products and commercial activities, while Instagram encompasses a much broader range of discussion topics\. Figure 2:Heatmap of the degree of code\-mixing across discussion topics and platforms, measured as the mean number of code\-mixed words per utterance\. Darker cells indicate a higher degree of code\-mixing, while white cells denote the absence of data for the corresponding topic–platform combination\. ## 5Discussion and Conclusion In this work, we presentPERCEPT, a dataset of 6,800 Persian–English code\-mixed tweets and comments collected from X, Instagram, and Digikala\. Using Gemini 3\.5 Flash, we automatically identify code\-mixed words, assign Universal Dependencies POS tags, and detect the topic of each text\. Human validation demonstrates high agreement between the LLM\-generated annotations and gold annotations, confirming the reliability of the dataset\. Our analyses show that code\-mixing occurs predominantly in nouns, while secondary POS distributions vary across platforms, with\\ttfamilyVERB ranking second in X,\\ttfamilyADJ in Instagram, and\\ttfamilyPROPN in Digikala\. We further find that the positional distribution of code\-mixed words is remarkably consistent across platforms, with most occurrences appearing in the initial and medial portions of an utterance\. In contrast, the triggering effect exhibits substantial platform\-specific variation and is most pronounced in Digikala, likely reflecting the e\-commerce nature of the platform\. Finally, topic analysis reveals thatIndustry & CommerceandBrand & Businesscontain the highest degree of code\-mixing across the analyzed platforms\. The annotation framework proposed in this work is readily transferable to other low\-resource languages, many of which similarly lack large\-scale POS\-annotated code\-mixed corpora\. Since the prompting strategy is largely language\-independent, researchers can adapt it by translating the prompts and applying them to conversational data collected from social media or other online platforms\. Beyond cross\-lingual applications,PERCEPTprovides a valuable resource for Persian NLP\. The dataset can support the development and evaluation of POS taggers and other code\-mixed NLP systems, including language identification, named entity recognition, syntactic parsing, sentiment analysis, and text generation\. It also enables future linguistic studies on the structural, lexical, and sociolinguistic properties of Persian–English code\-mixing\. ## Limitations This study has several limitations\. First, the linguistic analyses presented in this work are specific to Persian–English code\-mixed text and may not directly generalize to other language pairs with different linguistic and sociocultural characteristics\. Nevertheless, the proposed annotation framework is based on the language\-independent Universal Dependencies tagset and can be readily adapted to other code\-mixed languages, enabling future comparative studies across diverse language pairs\. Second,PERCEPTis constructed from three platforms: X, Instagram, and Digikala, which capture different types of social media and e\-commerce interactions but do not represent the full spectrum of online communication\. Future work could extend the dataset to additional platforms to provide a more comprehensive understanding of Persian–English code\-mixing\. Finally, this work focuses on POS tagging of code\-mixed words and the linguistic analyses enabled by these annotations\. Other annotation layers, such as named entity recognition, dependency parsing, token\-level language identification, matrix language identification, and additional downstream NLP tasks, remain unexplored and constitute promising directions for future research\. Despite these limitations, we publicly releasePERCEPT, the first large\-scale POS\-annotated Persian–English code\-mixed corpus, together with the analysis code and the annotation prompts used in this work\. We hope this resource will facilitate future research on Persian code\-mixing and support the development of multilingual NLP systems for low\-resource languages\. ## References ## Appendix AExample Prompts ### A\.1Prompts for POS Annotation Example prompts used to annotate the parts of speech of English or English\-transliterated words in Persian tweets and comments across different platforms, along with their English translations, are provided in Figures[3](https://arxiv.org/html/2608.10109#A1.F3)–[8](https://arxiv.org/html/2608.10109#A1.F8)\. Figure 3:Example prompt for identifying and annotating the parts of speech of English or English\-transliterated words in Persian tweets on X\.Figure 4:English translation of the example prompt for identifying and annotating the parts of speech of English or English\-transliterated words in Persian tweets on X\.Figure 5:Example prompt for identifying and annotating the parts of speech of English or English\-transliterated words in Persian comments on Instagram\.Figure 6:English translation of the example prompt for identifying and annotating the parts of speech of English or English\-transliterated words in Persian comments on Instagram\.Figure 7:Example prompt for identifying and annotating the parts of speech of English or English\-transliterated words in Persian comments on Digikala\.Figure 8:English translation of the example prompt for identifying and annotating the parts of speech of English or English\-transliterated words in Persian comments on Digikala\. ### A\.2Topic Detection Figures[9](https://arxiv.org/html/2608.10109#A1.F9)and[10](https://arxiv.org/html/2608.10109#A1.F10)illustrate the example prompt used to identify the topics of Persian–English code\-mixed tweets and comments, along with its English translation\. Figure 9:Example prompt for detecting the topics of Persian–English code\-mixed tweets and comments\.Figure 10:English translation of the example prompt for detecting the topics of Persian–English code\-mixed tweets and comments\. ## Appendix BHuman Annotation Protocol ### B\.1Annotators - •Number of annotators: 2 - •Native language: Persian - •Education: undergraduate students in Computer Engineering - •Prior annotation experience: basic NLP coursework - •Compensation: course\-related research assistance ### B\.2Annotation Task For each text, annotators are asked to: 1. 1\.Identify all Persian–English code\-mixed tokens\. 2. 2\.Assign a Universal Dependencies UPOS tag to each identified token\. 3. 3\.Assign one topic category from the predefined taxonomy\. ### B\.3Key Instructions - •Treat English words written in either Latin script or Persian transliteration as code\-mixed if they are used as English lexical items\. - •Do not mark platform\-specific product or interface names \(e\.g\., DigiPay, DigiExpress, Instagram Story\) as code\-mixed when they function as proper names\. - •In multi\-word English expressions, annotate each token separately with its own UPOS tag\. - •Follow the Universal Dependencies v2 definitions for POS tagging\. - •Do not use external AI tools during annotation\.
Similar Articles
ParsHate: A Benchmark Dataset for Hate and Target Detection in Persian
Introduces ParsHate, a manually annotated dataset of 10,000 Persian tweets for hate speech and target detection, showing moderate performance of current models and emphasizing the need for more advanced methods.
TajPersLexon: A Tajik-Persian Lexical Resource and Hybrid Model for Cross-Script Low-Resource NLP
This paper introduces TajPersLexon, a lexical resource for Tajik-Persian cross-script NLP, and benchmarks hybrid models against neural baselines to demonstrate effective low-resource processing.
The Public Discourse Corpus (PDC): A Speaker-Attributed Dataset for Valence and Epistemic Modality with Target Speaker Participation
The Public Discourse Corpus (PDC) is a new speaker-attributed dataset with 998 videos and 186,642 sentences annotated for affective valence and epistemic modality, including target speaker participation and open-source processing tools.
IndicTalk: A Large-Scale Persona-Based Multilingual Conversational Corpus for Indic Languages
IndicTalk is a large-scale multilingual conversational corpus covering 9 Indic languages with code-mixed dialogues, generated via an automated pipeline with news grounding and persona conditioning, aimed at advancing conversational AI for underrepresented languages.
A Parallel Multi-Dialect Arabic Dependency Treebank
The paper introduces MadarTB, the first large-scale parallel dependency treebank spanning five Arabic city dialects (Beirut, Cairo, Doha, Rabat, Tunis) plus MSA, with 5,000 sentences annotated in the CATiB scheme. It compares a supervised parser (87.5% LAS) against four LLMs (best at 85.7% LAS) across the six varieties, releasing annotations and models publicly.