Skip to main content
Many Myanmar words can function as multiple parts of speech depending on context. This module examines surrounding POS tags, determiners, and adverb markers to select the most likely tag, producing a confidence score and audit trail for each decision.

Overview

The Disambiguation Problem

Many Myanmar words can have multiple POS tags: Context determines the correct POS:
  • “ကြီး သော အိမ်” → ADJ (modifies noun)
  • “သူ ကြီး တယ်” → V (before particle)
  • “အကြီး ကို” → N (after verb)

Disambiguation Rules

R1: Noun After Verb

If the previous word is a verb, the ambiguous word is likely a noun (object).

R2: Adjective Before Noun/Pronoun

If the next word is a noun or pronoun, the ambiguous word is likely an adjective.

R3: Verb Before Particle

If the next word is a sentence-final or modifying particle, the word is likely a verb.

R4: Noun After Determiner

If the previous word is a determiner/demonstrative, the word is likely a noun.

R5: Verb/Adjective After Adverb

If the previous word is an adverb, the word is likely a verb being modified. Exception: degree adverbs (e.g., အလွန်) resolve the word to ADJ instead of V.

Rule Priority

Rules are applied in priority order (highest to lowest):

DisambiguationResult

Results include detailed information:

Accessing Results

Sentence Disambiguation

Disambiguate each word in a sentence by calling disambiguate_in_context() per word:

Convenience Function

For quick single-word disambiguation:

Linguistic Data

Determiners

Words that trigger R4 (noun context):

Adverb Markers

Words that trigger R5 (verb context):

Particle Tags

POS tags that trigger R3:

Thread Safety

The module provides a thread-safe singleton:

Integration

With Grammar Checker

With Viterbi Tagger

See Also