English

Evaluating Persian Tokenizers

Computation and Language 2022-02-23 v1 Artificial Intelligence

Abstract

Tokenization plays a significant role in the process of lexical analysis. Tokens become the input for other natural language processing tasks, like semantic parsing and language modeling. Natural Language Processing in Persian is challenging due to Persian's exceptional cases, such as half-spaces. Thus, it is crucial to have a precise tokenizer for Persian. This article provides a novel work by introducing the most widely used tokenizers for Persian and comparing and evaluating their performance on Persian texts using a simple algorithm with a pre-tagged Persian dependency dataset. After evaluating tokenizers with the F1-Score, the hybrid version of the Farsi Verb and Hazm with bounded morphemes fixing showed the best performance with an F1 score of 98.97%.

Keywords

Cite

@article{arxiv.2202.10879,
  title  = {Evaluating Persian Tokenizers},
  author = {Danial Kamali and Behrooz Janfada and Mohammad Ebrahim Shenasa and Behrouz Minaei-Bidgoli},
  journal= {arXiv preprint arXiv:2202.10879},
  year   = {2022}
}
R2 v1 2026-06-24T09:49:38.293Z