Tags¶
The pos and morphemes of a Parse, and the default formatted string, use Zemberek’s short
names for parts of speech and morphemes:
>>> import zeyrek
>>> analyzer = zeyrek.MorphAnalyzer()
>>> parse = analyzer.analyze_word("kitaplarımdan")[0]
>>> parse.pos, parse.morphemes
('Noun', ['Noun', 'A3pl', 'P1sg', 'Abl'])
>>> parse.formatted
'[kitap:Noun] kitap:Noun+lar:A3pl+ım:P1sg+dan:Abl'
A word’s analysis starts with the part of speech of its root. Agreement, possessive and case
morphemes follow on nouns, and tense, mood and person morphemes on verbs. A derivational morpheme
starts a new inflectional group with its own part of speech, written after | and before → in
the default format: güzel:Adj|lik:Ness→Noun+A3sg is the adjective güzel made a noun.
A noun without a possessive or a case suffix has the morphemes Pnon and Nom. Zemberek
leaves them out of analyses, so they never appear in morphemes.
Parts of speech¶
Tag |
Part of speech |
Example |
|---|---|---|
|
Noun |
ev |
|
Adjective |
güzel |
|
Adverb |
hızla |
|
Verb |
gelmek |
|
Pronoun |
ben |
|
Numeral |
üç |
|
Determiner |
bu |
|
Conjunction |
ve |
|
Postposition |
için |
|
Interjection |
eyvah |
|
Question particle |
mı |
|
Duplicator |
abur (cubur) |
|
Punctuation |
. |
|
Unknown |
The secondary part of speech follows a comma in the dictionary item, as in
[Ankara:Noun,Prop]:
Tag |
Meaning |
Example |
|---|---|---|
|
Proper noun |
Ankara |
|
Abbreviation |
TBMM |
|
Time noun |
yarın |
|
Personal pronoun |
ben |
|
Demonstrative pronoun |
bu |
|
Question pronoun |
kim |
|
Quantifying pronoun |
hepsi |
|
Reflexive pronoun |
kendi |
|
Cardinal number |
iki |
|
Ordinal number |
ikinci |
|
Distributive number |
ikişer |
|
Real number |
2,5 |
|
Postposition after the nominative |
ile |
|
Postposition after the dative |
göre |
|
Postposition after the accusative |
takiben |
|
Postposition after the ablative |
beri |
|
Postposition after the genitive |
kadar |
|
Postposition after the instrumental |
birlikte |
Agreement, possession and case¶
In the examples, the letters each morpheme adds are in bold.
Tag |
Meaning |
Example |
|---|---|---|
|
1st person singular |
geldim |
|
2nd person singular |
geldin |
|
3rd person singular |
ev |
|
1st person plural |
geldik |
|
2nd person plural |
geldiniz |
|
3rd person plural |
evler |
|
1st person singular possessive |
evim |
|
2nd person singular possessive |
evin |
|
3rd person singular possessive |
evi |
|
1st person plural possessive |
evimiz |
|
2nd person plural possessive |
eviniz |
|
3rd person plural possessive |
evleri |
|
Dative |
eve |
|
Accusative |
evi |
|
Locative |
evde |
|
Ablative |
evden |
|
Genitive |
evin |
|
Instrumental |
evle |
|
Equative |
sizce |
Tense, mood and polarity¶
Tag |
Meaning |
Example |
|---|---|---|
|
Present, on nouns used as verbs |
evdeyim |
|
Past |
okudu |
|
Narrative (reported) past |
okumuş |
|
Progressive |
okuyor |
|
Progressive, formal |
okumakta |
|
Aorist |
okur |
|
Future |
okuyacak |
|
Conditional |
okursa |
|
Imperative |
oku |
|
Optative |
okuyalım |
|
Desire |
okusa |
|
Necessity |
okumalı |
|
Negative |
okumadı |
|
Negative of ability |
okuyamadı |
|
Copula |
evdedir |
Derivations¶
Each of these starts a new inflectional group. In the examples, the letters a morpheme adds are in bold.
Some add none: Zero, or Recip and Reflex in verbs like gülüşmek and yıkanmak, whose
root already has them.
Tag |
Meaning |
Example |
|---|---|---|
|
Changes the part of speech with no suffix |
güzeldi |
|
Diminutive |
kedicik |
|
Noun of a quality |
güzellik |
|
Having |
evli |
|
Lacking |
evsiz |
|
Related to |
tarihsel |
|
Like, -ish |
çocuksu |
|
Relative, the one at or of |
evdeki |
|
Agent, the one who does or sells |
kitapçı |
|
Become |
taşlaştı |
|
Acquire |
paralandı |
|
Adverb from an adjective |
güzelce |
|
Causative |
yaptırdı |
|
Passive |
yapıldı |
|
Reciprocal |
gülüştüler |
|
Reflexive |
yıkandı |
|
Ability |
yapabilir |
|
Keep doing |
yapadurdu |
|
Almost do |
düşeyazdı |
|
Do quickly |
yapıverdi |
|
Have been doing ever since |
süregelen |
|
Freeze while doing |
bakakaldı |
|
Start doing |
yazakoydu |
|
Infinitive -mAk |
okumak |
|
Infinitive -mA |
okuması |
|
Infinitive -yIş |
okuyuş |
|
Game or act of |
kovalamaca |
|
Feel like doing |
gülesi |
|
Not doing, as a state |
okumazlık |
|
Past participle |
okuduğum |
|
Narrative participle |
okunmuş |
|
Future participle |
okuyacağı |
|
Present participle |
okuyan |
|
Aorist participle |
görmez |
|
As if |
okurcasına |
|
While |
okurken |
|
When |
okuyunca |
|
Since |
geleli |
|
As long as, the more |
okudukça |
|
By doing |
okuyarak |
|
Intensely |
ölesiye |
|
After doing |
okuyup |
|
Without doing |
okumadan |
|
Without being able to do |
okuyamadan |
Informal morphemes¶
An analyzer created with informal=True also uses these morphemes of spoken Turkish. Each
stands for the formal morpheme in brackets.
Tag |
Meaning |
Example |
|---|---|---|
|
Progressive ( |
geliyom |
|
Future ( |
yapcaz |
|
Future participle ( |
gidiceğim |
|
Negative ( |
yazmıycam |
|
Negative of ability ( |
yazamıycam |
|
Optative ( |
yapıyim |
|
First person singular ( |
yapıyim |
|
First person plural ( |
yazak |