Word Sense Disambiguation (WSD) remains a fundamental challenge in Natural Language Processing (NLP) because many words are polysemous, with meanings that vary across contexts. WSD contributes to the semantic interpretation by identifying the intended sense of a word in context. Although substantial progress has been achieved for English due to the availability of rich lexical resources and large sense-annotated corpora, WSD for Arabic dialects remains comparatively underexplored, largely because of the scarcity of annotated corpora and lexico-semantic resources. In parallel, Large Language Models (LLMs) offer promising opportunities to improve WSD in low-resource languages. This paper proposes an LLM-based approach to WSD in the Moroccan dialect (Darija) and evaluates its effectiveness at generating lexical definitions in two settings. In the first setting, the LLM generates a lexical definition based solely on the original context. In the second setting, the definition is generated from the original context augmented with additional contextual sentences previously produced by the LLM. WordNet serves as a reference sense inventory, providing candidate glosses that act as external semantic anchors for disambiguation. The candidate glosses are compared with the LLM-generated definitions in a shared embedding space to select the most appropriate sense. The proposed method is evaluated on both Modern Standard Arabic (MSA) and Darija. Results show that enriching the original context with generated sentences improves the quality of lexical definitions and enhances disambiguation performance in both varieties. Overall, aligning LLM-generated definitions with WordNet glosses via semantic matching provides a practical and effective solution for WSD in low-resource languages.

Word sense disambiguation approach for Moroccan dialect using large language models and a sense inventory

Nahli, Ouafae
Ultimo
Methodology
2026

Abstract

Word Sense Disambiguation (WSD) remains a fundamental challenge in Natural Language Processing (NLP) because many words are polysemous, with meanings that vary across contexts. WSD contributes to the semantic interpretation by identifying the intended sense of a word in context. Although substantial progress has been achieved for English due to the availability of rich lexical resources and large sense-annotated corpora, WSD for Arabic dialects remains comparatively underexplored, largely because of the scarcity of annotated corpora and lexico-semantic resources. In parallel, Large Language Models (LLMs) offer promising opportunities to improve WSD in low-resource languages. This paper proposes an LLM-based approach to WSD in the Moroccan dialect (Darija) and evaluates its effectiveness at generating lexical definitions in two settings. In the first setting, the LLM generates a lexical definition based solely on the original context. In the second setting, the definition is generated from the original context augmented with additional contextual sentences previously produced by the LLM. WordNet serves as a reference sense inventory, providing candidate glosses that act as external semantic anchors for disambiguation. The candidate glosses are compared with the LLM-generated definitions in a shared embedding space to select the most appropriate sense. The proposed method is evaluated on both Modern Standard Arabic (MSA) and Darija. Results show that enriching the original context with generated sentences improves the quality of lexical definitions and enhances disambiguation performance in both varieties. Overall, aligning LLM-generated definitions with WordNet glosses via semantic matching provides a practical and effective solution for WSD in low-resource languages.
Campo DC Valore Lingua
dc.authority.ancejournal KNOWLEDGE-BASED SYSTEMS en
dc.authority.orgunit Istituto di linguistica computazionale "Antonio Zampolli" - ILC en
dc.authority.people Belbachir, Said en
dc.authority.people Chahhou, Mohamed en
dc.authority.people Mohajir, Mohammed El en
dc.authority.people Nahli, Ouafae en
dc.collection.id.s b3f88f24-048a-4e43-8ab1-6697b90e068e *
dc.collection.name 01.01 Articolo in rivista *
dc.contributor.appartenenza Istituto di linguistica computazionale "Antonio Zampolli" - ILC *
dc.contributor.appartenenza.mi 918 *
dc.contributor.area Non assegn *
dc.date.firstsubmission 2026/09/15 17:10:14 *
dc.date.issued 2026 -
dc.date.submission 2026/09/15 17:10:14 *
dc.description.abstracteng Word Sense Disambiguation (WSD) remains a fundamental challenge in Natural Language Processing (NLP) because many words are polysemous, with meanings that vary across contexts. WSD contributes to the semantic interpretation by identifying the intended sense of a word in context. Although substantial progress has been achieved for English due to the availability of rich lexical resources and large sense-annotated corpora, WSD for Arabic dialects remains comparatively underexplored, largely because of the scarcity of annotated corpora and lexico-semantic resources. In parallel, Large Language Models (LLMs) offer promising opportunities to improve WSD in low-resource languages. This paper proposes an LLM-based approach to WSD in the Moroccan dialect (Darija) and evaluates its effectiveness at generating lexical definitions in two settings. In the first setting, the LLM generates a lexical definition based solely on the original context. In the second setting, the definition is generated from the original context augmented with additional contextual sentences previously produced by the LLM. WordNet serves as a reference sense inventory, providing candidate glosses that act as external semantic anchors for disambiguation. The candidate glosses are compared with the LLM-generated definitions in a shared embedding space to select the most appropriate sense. The proposed method is evaluated on both Modern Standard Arabic (MSA) and Darija. Results show that enriching the original context with generated sentences improves the quality of lexical definitions and enhances disambiguation performance in both varieties. Overall, aligning LLM-generated definitions with WordNet glosses via semantic matching provides a practical and effective solution for WSD in low-resource languages. -
dc.description.allpeople Belbachir, Said; Chahhou, Mohamed; Mohajir, Mohammed El; Nahli, Ouafae -
dc.description.allpeopleoriginal Belbachir, Said; Chahhou, Mohamed; Mohajir, Mohammed El; Nahli, Ouafae en
dc.description.fulltext none en
dc.description.international si en
dc.description.numberofauthors 4 -
dc.identifier.doi 10.1016/j.knosys.2026.116932 en
dc.identifier.source crossref *
dc.identifier.uri https://hdl.handle.net/20.500.14243/599081 -
dc.language.iso eng en
dc.relation.medium ELETTRONICO en
dc.subject.keywordseng Word sense disambiguation; Moroccan dialect; Large language models; WordNet; Low-resource languages -
dc.subject.singlekeyword Word sense disambiguation *
dc.subject.singlekeyword Moroccan dialect *
dc.subject.singlekeyword Large language models *
dc.subject.singlekeyword WordNet *
dc.subject.singlekeyword Low-resource languages *
dc.title Word sense disambiguation approach for Moroccan dialect using large language models and a sense inventory en
dc.type.circulation Internazionale en
dc.type.driver info:eu-repo/semantics/article -
dc.type.full 01 Contributo su Rivista::01.01 Articolo in rivista it
dc.type.miur 262 -
iris.orcid.lastModifiedDate 2026/09/15 17:10:14 *
iris.orcid.lastModifiedMillisecond 1789485014941 *
iris.sitodocente.maxattempts 1 -
iris.unpaywall.doi 10.1016/j.knosys.2026.116932 *
iris.unpaywall.isoa false *
iris.unpaywall.journalisindoaj false *
iris.unpaywall.metadataCallLastModified 17/09/2026 04:25:17 -
iris.unpaywall.metadataCallLastModifiedMillisecond 1789611917803 -
iris.unpaywall.oastatus closed *
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/599081
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ente

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact