Overview
The Disambiguation Problem
Many Myanmar words can have multiple POS tags:| Word | Possible POS | Example Usage |
|---|---|---|
ကြီး | ADJ, N, V | big/size/grow |
သား | N, V | son/child/be born |
ပြော | V, N | speak/speech |
- “ကြီး သော အိမ်” → 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
If the next word is a noun, 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 After Adverb
If the previous word is an adverb, the word is likely a verb being modified.Rule Priority
Rules are applied in priority order (highest to lowest):| Priority | Rule | Confidence |
|---|---|---|
| 1 | R3 - Verb Before Particle | 0.90 |
| 2 | R5 - Verb After Adverb | 0.85 |
| 3 | R1 - Noun After Verb | 0.85 |
| 4 | R2 - Adjective Before Noun | 0.80 |
| 5 | R4 - Noun After Determiner | 0.88 |
DisambiguationResult
Results include detailed information:Accessing Results
Sentence Disambiguation
Disambiguate all words in a sentence: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
- POS Tagging - POS tagging overview
- Grammar Checking - Grammar rules
- Joint Segment Tagger - Joint segmentation and tagging