SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.05760 · ACL · 2024

Arabic Diacritics in the Wild: Exploiting Opportunities for Improved Diacritization

Nizar Habash, Go Inoue, Ossama Obeid, Salman Elgamal, Tameem Kabbani

arXiv · PDF · Open in the Atlas

Code that ran

9 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 7 failures of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2406.05760.json · badge: /api/ran/2406.05760.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
CAMeL-Lab/wild_diacritics canonical (classifier label)
classifier basis: census
9 ran · 1 no recorded run
FunctionStatusWhere it lives
determine_output_columns Ran
ran; our contract draft was wrong, not the code
CAMeL-Lab/wild_diacritics/code/exploiting_wilddiacs/evaluate.py
pointer only (licence: CC-BY-SA-4.0) · get_code("6da8a04479bf42e1")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, CAMeL-Lab/wild_diacritics, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

determine_output_columns Ran
ran; our contract draft was wrong, not the code
CAMeL-Lab/wild_diacritics/code/exploiting_wilddiacs/gen_predictions_sent.py
pointer only (licence: CC-BY-SA-4.0) · get_code("a39aab3f23931645")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, CAMeL-Lab/wild_diacritics, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

group_genre_entries Ran
ran; our contract draft was wrong, not the code
CAMeL-Lab/wild_diacritics/code/exploiting_wilddiacs/prepare_wild2max.py
pointer only (licence: CC-BY-SA-4.0) · get_code("b2902b3a09e667ab")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, CAMeL-Lab/wild_diacritics, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

has_diac Ran
ran, violated the contract we drafted
CAMeL-Lab/wild_diacritics/code/wilddiacs_utils/modules/diac_handler/diac_handler.py
pointer only (licence: CC-BY-SA-4.0) · get_code("39d226d76372810a")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, CAMeL-Lab/wild_diacritics, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_number Ran
ran, violated the contract we drafted
CAMeL-Lab/wild_diacritics/code/wilddiacs_utils/modules/token_handler/token_handler.py
pointer only (licence: CC-BY-SA-4.0) · get_code("c5cdf233d710d8fe")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, CAMeL-Lab/wild_diacritics, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_genre_path_args Ran
ran; our contract draft was wrong, not the code
CAMeL-Lab/wild_diacritics/code/exploiting_wilddiacs/evaluate.py
pointer only (licence: CC-BY-SA-4.0) · get_code("a11786d0fd15ea70")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, CAMeL-Lab/wild_diacritics, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

process_args Ran
ran; our contract draft was wrong, not the code
CAMeL-Lab/wild_diacritics/code/exploiting_wilddiacs/evaluate.py
pointer only (licence: CC-BY-SA-4.0) · get_code("b90297accbec9ad0")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, CAMeL-Lab/wild_diacritics, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

process_args Ran
ran; our contract draft was wrong, not the code
CAMeL-Lab/wild_diacritics/code/exploiting_wilddiacs/gen_predictions_sent.py
pointer only (licence: CC-BY-SA-4.0) · get_code("08ba56361a829ac7")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, CAMeL-Lab/wild_diacritics, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

singular_of_tanween Ran
ran; our contract draft was wrong, not the code
CAMeL-Lab/wild_diacritics/code/wilddiacs_utils/modules/diac_handler/diac_handler.py
pointer only (licence: CC-BY-SA-4.0) · get_code("1765b7b87e5d7e0e")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, CAMeL-Lab/wild_diacritics, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gen_entries Not yet run
unverified (harvested, no recorded run)
CAMeL-Lab/wild_diacritics/code/exploiting_wilddiacs/prepare_wikinewsmax.py
pointer only (licence: CC-BY-SA-4.0) · get_code("eda525301a431887")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, CAMeL-Lab/wild_diacritics, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 10 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The widespread absence of diacritical marks in Arabic text poses a significant challenge for Arabic natural language processing (NLP). This paper explores instances of naturally occurring diacritics, referred to as "diacritics in the wild," to unveil patterns and latent information across six diverse genres: news articles, novels, children's books, poetry, political documents, and ChatGPT outputs. We present a new annotated dataset that maps realworld partially diacritized words to their maximal full diacritization in context. Additionally, we propose extensions to the analyze-anddisambiguate approach in Arabic NLP to leverage these diacritics, resulting in notable improvements. Our contributions encompass a thorough analysis, valuable datasets, and an extended diacritization algorithm. We release our code and datasets as open source.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2406.05760")
get_code_for_paper("2406.05760")
have("2406.05760")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2406.05760.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2406.05760.svg)](https://syntology.ai/paper/2406.05760)

Connect an agent — have() is free.