nahw

Analyzes Arabic-language sentences to determine the semantic context of words.

2|Updated Jun 22, 2026
One-click install
npx skills add https://github.com/theislampill/fusha --skill nahw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nahw
Source: https://github.com/theislampill/fusha/tree/main/nahw
Command: npx skills add https://github.com/theislampill/fusha --skill nahw

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps decide the meaning of Arabic tokens in the context of sentences, resolving ambiguities and providing accurate glosses.

Core Features & Use Cases

  • Contextual Meaning Resolution: Determine the correct meaning of a token based on its syntactic and semantic context, such as particles, prepositions, pronouns, negation, conditionals, and referents.
  • Syntax Analysis: Analyze sentence structure and determine the syntactic role of each token, such as subject, object, or verb.
  • Use Case: When you encounter an ambiguous Arabic token in a sentence, use this Skill to determine its correct meaning, ensuring accurate glossing and translation.

Quick Start

Use the nahw skill to determine the meaning of the token 'ما' in the sentence "ما في هذا الكتاب".

Frequently Asked Questions about nahw

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I determine the correct contextual meaning of an ambiguous Arabic token in a sentence?

To determine the correct contextual meaning of an Arabic token, you analyze its syntactic and semantic context including particles, prepositions, and referents. This contextual analysis resolves ambiguities and provides accurate glosses for translation.

What is the best way to resolve syntactic ambiguity in Arabic text translation?

Resolving syntactic ambiguity in Arabic text translation requires analyzing sentence structure to identify each token's role, such as subject or object. This syntactic analysis clarifies meaning and ensures accurate glossing of ambiguous words.

Do I need a sarf output object to perform Arabic syntactic analysis on ambiguous tokens?

Yes, you need a sarf output object to perform Arabic syntactic analysis. The Skill requires a token, its surrounding text, and sarf output to accurately analyze syntax and resolve contextual meaning ambiguities.

Can I use this approach to analyze Arabic particles, prepositions, and conditionals for accurate glossing?

Yes, you can use this approach to analyze Arabic particles, prepositions, and conditionals for accurate glossing. The syntactic analysis evaluates these contextual elements to determine the correct meaning and resolve translation ambiguities.

Why does an Arabic word have multiple meanings in different sentences and how do I find the right one?

An Arabic word has multiple meanings because its semantic role shifts based on surrounding context. Finding the right meaning involves analyzing the sentence structure and referents to determine the correct syntactic role and provide an accurate gloss.

What are the limitations of using syntactic analysis for Arabic contextual meaning resolution?

A limitation of using syntactic analysis for Arabic contextual meaning resolution is that it strictly requires surrounding text and sarf output to function. Without the full semantic context of the sentence, resolving ambiguities and providing accurate glosses may fail.