-
Notifications
You must be signed in to change notification settings - Fork 5
additions
Ozan KANIK edited this page Apr 12, 2026
·
1 revision
This page tracks ZemberekDotNet-specific additions that do not exist in Java Zemberek, plus release-level API notes.
Namespace:
ZemberekDotNet.Morphology.Extended
Added public API:
-
TurkishCaseenum (ZemberekDotNet.Core.Turkish) -
SingleAnalysisextensions:ExtdGetCase()ExtdGetPossibleCases()
-
TurkishMorphologyextensions:ExtdAnalyzeNumeralWithSuffix(string input)ExtdAnalyzeWithRanking(string input, WordFrequencyModel frequencyModel = null)ExtdSynthesize(string lemma, TurkishCase targetCase, bool plural = false)
-
WordAnalysisextension:ExtdGetRankedAnalyses(WordFrequencyModel frequencyModel = null)
- New helper types:
RankedAnalysisWordFrequencyModelExtendedMorphologyContext
ZemberekDotNet.Morphology now embeds a Turkish frequency resource:
Extended/Resources/tr_50k.txt
This corpus is used by ranking/fuzzy workflows and is packaged inside the Morphology NuGet artifact.
ExtdGetCase() and ExtdGetPossibleCases() now infer nominative from the last morpheme group's POS, not from any nominal morpheme anywhere in the chain.
Why this matters:
- It prevents adjective-derivation false positives such as
elma + With(lı) -> Adjfrom being incorrectly marked as nominative.
Extended morphology tests include:
- numeral apostrophe analysis
- typed case extraction
- ranked analysis confidence behavior
- BK-tree fuzzy analysis behavior
- morphology synthesis helper behavior
- edge-case POS correctness for derivations (adjective, adverb, postposition, verb, gerund)
- These APIs are additive and backward-compatible.
- Existing Morphology APIs remain unchanged.
- To use new methods, import
ZemberekDotNet.Morphology.Extended.
Getting Started
Module Reference
- Morphology Notes
- Additions and Release Notes
- Morphemes Reference
- Classification Training Guide
- Normalization Guide
- Proper Nouns and Named Entities
- Text Dictionary Rules
API Parity & Migration
Reference
Roadmap