-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapertium-kir.kir.lexc
18482 lines (17696 loc) · 829 KB
/
apertium-kir.kir.lexc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! M O R P H O L O G I C A L · T R A N S D U C E R · F O R · K Y R G Y Z !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! See https://wiki.apertium.org/wiki/Turkic_lexicon
!=================!
Multichar_Symbols
!=================!
! Part of speech categories = First-level tags
%<n%> ! Noun
%<np%> ! Proper noun
%<adj%> ! Adjective
%<det%> ! Determiner
%<adv%> ! Adverb
%<num%> ! Numeral
%<v%> ! Verb
%<vaux%> ! Auxiliary verb
%<prn%> ! Pronoun
%<post%> ! Postposition
%<postadv%> ! Postadverb
%<abbr%> ! Abbreviation
%<ij%> ! Interjection
%<cnjcoo%> ! Coordinating conjunction
%<cnjadv%> ! Adverbial conjunction
%<cnjsub%> ! Subordinating conjunction
%<cop%> ! Copula
! Cases
%<nom%> ! Nominative
%<acc%> ! Accusative
%<dat%> ! Dative
%<gen%> ! Genitive
%<loc%> ! Locative
%<abl%> ! Ablative
! "Syntactic" tags. Attributive use of non-adjectives etc.
%<subst%> ! substantive use of non-nouns
%<attr%> ! attributive use of non-adjectives
%<advl%> ! adverbial use of non adverbs
! Proper noun types
%<ant%> ! Anthroponym (name of person)
%<cog%> ! Cognomen (second, or family name)
%<pat%> ! Patronym
%<top%> ! Toponym
%<al%> ! Other
%<org%> ! Organisation name
%<unk%> ! Unknown (see Guesser)
!! gender of anthroponyms and cognoms
%<m%> ! Masculine
%<f%> ! Feminine
%<mf%> ! Masculine or feminine
!! Pronoun&Determiner types
%<pers%> ! Personal
%<dem%> ! Demonstrative
%<ind%> ! Indefinite
%<qnt%> ! Quantifier
%<itg%> ! Interrogative
%<ref%> ! Reflexive
%<recip%> ! Reciprocal
%<dem%> ! Demonstrative
%<neg%> ! Negative
%<cmpd%> ! Compound
! Number
%<sg%> ! Singular
%<pl%> ! Plural
! Person
%<p1%> ! First person
%<p2%> ! Second person
%<p3%> ! Third person
%<frm%> ! Formal
! Possessives
%<px1sg%> ! Possessive, first person singular
%<px2sg%> ! Possessive, second person singular
%<px3sp%> ! Possessive, third person singular/plural
%<px1pl%> ! Possessive, first person plural
%<px2pl%> ! Possessive, second person plural
%<px3pl%> ! Possessive, third person plural (for reflexive)
!%<px%> ! General possessive -ныкы ! CHANGED to %<ger%>%<subst%>
%<qst%> ! Question modal word and "what about" focus particle
!%<mod_foc%> ! "what about ..." question particle
%<mod_ass%> ! assumption-that-interlocutor-knows-something modal particle
%<mod_tru%> ! assumption-that-statement-is-true modal particle
%<mod_ind%> ! Indefinite modal particle (expresses doubt)
%<mod_dub%> ! Dubative
%<emph%> ! Polite emphatic particle used with imperatives
%<mod%> ! To replace all of the above!
%<pst%> ! Positive level of comparison
%<comp%> ! Comparative level of comparison
%<sup%> ! Superlative level of comparison
%<sim%> ! Similative
%<equ%> ! Equative
%<attr%> ! -KI suffix, adjectivaliser
! Numeral types
%<ord%> ! Ordinal
%<coll%> ! Collective (?)
! Verbal features
!! Derivation
%<pass%> ! Passive
%<caus%> ! Causative
%<coop%> ! Cooperative
!! Mood
%<opt%> ! Optative, -мAк>чI
%<imp%> ! imperative
!! Transitivity
%<iv%> ! Intransitive
%<tv%> ! Transitive
!! Non-Finite verb forms
!!! Participles
%<prc_plan%> ! was: purposive
%<prc_past%>
%<prc_fut%>
%<prc_hab%> ! habitual prc (with copulas): -май
%<prc_cond%>
%<prc_perf%>
%<prc_impf%>
%<prc_vol%> ! volitional
%<prc_irre%> ! irrealis
! %<prc_prp%> ! purposive
%<prc_real%> ! realis
%<prc_pcond%> ! "would have" etc.
%<prc_fplan%> ! planning to
!!! Verbal adverbs ! Глагольные наречия
%<gna_perf%>
! %<gna_prp%>
%<gna_cond%>
%<gna_ala%> ! "as long as"
%<gna_until%>
%<gna_after%> ! was: gna_prp
!!! Gerunds (verbal nouns)
%<ger_fut%>
%<ger_past%>
%<ger_perf%>
%<ger_pres%>
%<ger%>
%<ger_abst%> ! "abstract" gerund
%<ger_unac%> ! Unaccomplished "not-yet" gerund, -E элек
%<ger_ppot%> ! Perfective(?) potential gerund (~the ability to do the denoted action)
%<ger_hab%> ! habitual gerund: -мАй
!!! Verbal adjectives ! Глагольные причастия
%<gpr_fut%>
%<gpr_pot2%>
%<gpr_perf%>
%<gpr_past%>
%<gpr%>
%<gpr_pot%>
%<gpr_impf%>
%<gpr_hab%>
%<gpr_unac%> ! Unaccomplished "not-yet" verbal adjective, -E элек
%<gpr_ppot%> ! Perfective(?) potential verbal adjective
!! Tense / finite forms
%<aor%> ! Aorist, -E
! %<cond%> ! Conditional, -сA
%<past%> ! Past tense
%<pih%> ! Past habitual
%<pot%> ! Potential, -чUдAй
%<ifi%> ! Definite past
%<fut%> ! Future tense, -AAр
%<unac%> ! Unaccomplished "not-yet" tense, -E элек
! %<pp%> ! Past participle, -GAн
! %<pp2%> ! Past participle, -GAнI
! %<plist%> ! Listing participle
! %<inf%> ! Verbal noun, -үү
! %<inf2%> ! Verbal noun, -иш
%<asif%> ! a verbal affix adding "as if ..." to the meaning
%<pcond%> ! conditional something "would X"
%<evid%> ! Evidential
! Punctuation
%<percent%> ! Percent
%<sent%> ! Sentence marker
%<guio%> ! Hyphen
%<cm%> ! Comma
%<apos%> ! Apostrophe
%<rquot%> ! Quote marker (right hand side)
%<lquot%> ! Quote marker (left hand side)
%<quot%> ! Quote marker
%<rpar%> ! Parenthetical marker (right hand side)
%<lpar%> ! Parenthetical marker (left hand side)
! Archiphonemes and escaped symbols
%{E%} ! Realised as 'а', 'е', 'о', 'ө', 'й'
%{A%} ! Realised as 'а', 'е', 'о', 'ө'
%{I%} ! Realised as 'ы', 'и', 'у', 'ү'
%{U%} ! Realised as 'у', 'ү'
%{G%} ! Realised as 'г', 'к', 'ң', 'н'
%{D%} ! Realised as 'д', 'т', 'н'
%{Д%} ! Realised as 'д', 'т', for causative
%{B%} ! Realised as 'б', 'п'
%{N%} ! Realised as 'н', 'д', 'т'
%{L%} ! Realised as 'л', 'д', 'т'
%{s%} ! Realised as 'с' or ''; only used in 3rd person morphology
%{n%} ! Realised as 'н' or ''; only used in 3rd person morphology and -NIKI
%{l%} ! Realised as 'л' or 'н'; only used in passive -{I}{l}
%{y%} ! Realised as '' or '{I}'; only used in epenthesis for nouns
%{e%} ! Realised as ''; only used to make vowel harmony come out right for things that normally break vowel harmony
%{K%} ! Realised as 'к' or 'г'; only used in attributive -{K}{I}
!%{Й%} ! Realised as 'й' or 'null'; й or first part of ю
%{а%} ! Archiphoneme for back vowel numerals/abbreviation
%{э%} ! Archiphoneme for front vowel numerals/abbreviation
%{ү%} ! Archiphoneme for front rounded vowels numerals/abbreviation
%{у%}
%{о%}
%{й%} ! Archiphoneme for й/р
%{л%}
%{з%} ! Archiphoneme for nasals and voiced obstruents numerals/abbreviation
%{т%} ! Archiphoneme for voiceless consonants numerals/abbreviation
%{і%} ! used for и in words like факт/фактилери
%{redC%}
%{redV%}
%> ! Morpheme boundary
%
%+
%-
%.
%,
!@P.NEG.0@ ! Set if -{I}š is not present
!@P.NEG.1@ ! Set if -{I}š is present
!@D.NEG.0@ ! Disallow if -{I}š is not present
!@D.NEG.1@ ! Disallow if -{I}š is present
%[%-coop%]
%[%+p3pl%]
%[%+red%]
%[%-red%]
%[%+qst%]
%[%-qst%]
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! C O N T I N U A T I O N L E X I C A !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
LEXICON Root
Copula ;
Miscellaneous ;
Postpositions ;
Conjunctions ;
Determiners ;
Pronouns ;
Postadverbs ;
Numerals ;
Nouns ;
ProperNouns ;
Adjectives ;
AdjectivePrefixes ;
Adverbs ;
Verbs ;
Punctuation ;
Interjections ;
Abbreviations ;
Guesser ;
Digits ; ! Use/Circ
! Nationalities ;
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
LEXICON CASE-NONOM
! This continuation lexicon is a copy of the normal case lexicon,
! only it does not include nominative
! 1<num><nom> = 1, 1<num><acc> = 1-{N}{I}
%<gen%>:%>%{N%}%{I%}н CLIT-NONPRED ;
%<dat%>:%>%{G%}%{A%} CLIT-NONPRED ;
%<acc%>:%>%{N%}%{I%} CLITICS-NO-COP ;
%<abl%>:%>%{D%}%{A%}н PRED ;
%<loc%>:%>%{D%}%{A%} PRED ;
LEXICON CASE-ETC-NONOM
CASE-NONOM ;
!GENERAL-POSSESSIVE-ETC ;
LEXICON N-INFL-COMMON-NONOM
!POSSESSIVES ; ! huh?
POSSESSION ;
CASE-ETC-NONOM ;
LEXICON SUBST-NONOM
N-INFL-COMMON-NONOM ;
%<pl%>:%>%{L%}%{A%}р N-INFL-COMMON-NONOM ;
LEXICON SQRD
! This lexicon includes common ways of writing squared, cubed etc.
²%<num%>:2 # ; ! Dir/LR
³%<num%>:3 # ; ! Dir/LR
²%<num%>:² # ;
³%<num%>:³ # ;
%<num%>: # ;
LEXICON NUM-DIGIT
%<num%>: # ;
%<num%>%<subst%>%<nom%>: # ;
%<num%>%<subst%>:%- SUBST-NONOM ;
%<num%>%<subst%>: SUBST-NONOM ; ! Dir/LR
%<num%>%<ord%>:%-%{I%}нч%{I%} # ;
%<num%>%<ord%>%<subst%>%<nom%>:%-%{I%}нч%{I%} # ;
%<num%>%<ord%>%<subst%>:%-%{I%}нч%{I%} SUBST-NONOM ;
%<num%>%<ord%>:%-ч%{I%} # ; ! Dir/LR
%<num%>%<ord%>%<subst%>%<nom%>:%-ш%{I%} # ; ! Dir/LR
%<num%>%<ord%>%<subst%>:%-ч%{I%} SUBST-NONOM ; ! Dir/LR
! See PRON-COLL
!These are for numerals
!! Defaults to subst reading; advl is secondary
%<num%>%<coll%>%<advl%>:%-%{A%}%{U%} # ; ! FIXME: оо/өө
!! though apertium-kaz hasn't been updated to reflect this
!! so let's just include <subst> for now...
%<num%>%<coll%>%<subst%>%<nom%>:%-%{A%}%{U%} # ; ! FIXME: оо/өө
%<num%>%<coll%>%<subst%>:%-%{A%}%>%{U%} SUBST-NONOM ;
%<num%>%<percent%>:%% # ;
%<num%>%<percent%>%<subst%>%<nom%>:%% # ;
%<num%>%<percent%>%<subst%>:%%%{а%}%{з%}%- SUBST-NONOM ;
%<num%>%<percent%>%<subst%>:%%%{а%}%{з%} SUBST-NONOM ; ! Dir/LR
%<num%>%<percent%>%<subst%>:%%%{э%}%{т%}%- SUBST-NONOM ; ! Dir/LR
%<num%>%<percent%>%<subst%>:%%%{э%}%{т%} SUBST-NONOM ; ! Dir/LR
°С%<num%>:°С # ;
°С%<num%>%<subst%>%<nom%>:°С # ;
°С%<num%>%<subst%>:°С%{у%}%{т%}%- SUBST-NONOM ;
°С%<num%>%<subst%>:°С%{э%}%{т%}%- SUBST-NONOM ; ! Dir/LR
°С%<num%>:ºС # ; ! Dir/LR
°С%<num%>%<subst%>%<nom%>:ºС # ; ! Dir/LR
°С%<num%>%<subst%>:ºС%{у%}%{т%}%- SUBST-NONOM ; ! Dir/LR
°С%<num%>%<subst%>:ºС%{э%}%{т%}%- SUBST-NONOM ; ! Dir/LR
°С%<num%>:С # ; ! Dir/LR
°С%<num%>%<subst%>%<nom%>:С # ; ! Dir/LR
°С%<num%>%<subst%>:С%{у%}%{т%}%- SUBST-NONOM ; ! Dir/LR
°С%<num%>%<subst%>:С%{э%}%{т%}%- SUBST-NONOM ; ! Dir/LR
С%<num%>:° # ; ! Dir/LR
С%<num%>%<subst%>%<nom%>:° # ; ! Dir/LR
С%<num%>%<subst%>:°%{у%}%{т%}%- SUBST-NONOM ; ! Dir/LR
С%<num%>%<subst%>:°%{э%}%{т%}%- SUBST-NONOM ; ! Dir/LR
! Measurement units
км:км SQRD ;
мм:мм SQRD ;
см:см SQRD ;
м:м SQRD ;
LEXICON LASTDIGIT
1:1%{э%}%{й%} NUM-DIGIT ; ! "бир"
2:2%{э%} NUM-DIGIT ; ! "эки"
3:3%{ү%}%{т%} NUM-DIGIT ; ! "үч"
4:4%{ү%}%{т%} NUM-DIGIT ; ! "төрт"
5:5%{э%}%{т%} NUM-DIGIT ; ! "беш"
6:6%{а%} NUM-DIGIT ; ! "алты"
7:7%{э%} NUM-DIGIT ; ! "жети"
8:8%{э%}%{з%} NUM-DIGIT ; ! "сегиз"
9:9%{у%}%{з%} NUM-DIGIT ; ! "тогуз"
LEXICON LASTDIGIT-REST
1%0:1%0%{о%}%{з%} NUM-DIGIT ; ! "он"
2%0:2%0%{а%} NUM-DIGIT ; ! "жыйырма"
3%0:3%0%{у%}%{з%} NUM-DIGIT ; ! "отуз"
4%0:4%0%{а%}%{т%} NUM-DIGIT ; ! "кырк"
5%0:5%0%{ү%} NUM-DIGIT ; ! "элүү"
6%0:6%0%{а%}%{т%} NUM-DIGIT ; ! "алтымыш"
7%0:7%0%{э%}%{т%} NUM-DIGIT ; ! "жетимиш"
8%0:8%0%{э%}%{з%} NUM-DIGIT ; ! "сексен"
9%0:9%0%{о%}%{з%} NUM-DIGIT ; ! "токсон"
LEXICON POWERS
%0%0:%0%0%{ү%}%{з%} NUM-DIGIT ; ! "жүз"
%0%0%0:%0%0%0%{э%}%{з%} NUM-DIGIT ; ! "миң"
LEXICON LOOP
%,:%, DIGITLEX ;
%.:%. DIGITLEX ;
%,:%, LASTDIGIT ;
%.:%. LASTDIGIT ;
%,:%, LASTDIGIT-REST ;
%.:%. LASTDIGIT-REST ;
%,:%, POWERS ;
%.:%. POWERS ;
DIGITLEX ;
LASTDIGIT ;
LASTDIGIT-REST ;
POWERS ;
!! merged from secondary DIGITLEX lexicon;
!! UPDATE: moved from DIGITLEX
!! CHECK: may not belong here!
%<num%>: # ; ! Copy from kaz
LEXICON DIGITLEX
%0:%0 LOOP ;
1:1 LOOP ;
2:2 LOOP ;
3:3 LOOP ;
4:4 LOOP ;
5:5 LOOP ;
6:6 LOOP ;
7:7 LOOP ;
8:8 LOOP ;
9:9 LOOP ;
!==============================================================================!
! N U M E R A L L E X I C O N E N D S H E R E
!==============================================================================!
LEXICON CASES-DEFAULT
%<nom%>: CLITICS-INCL-COP ; ! - - -
%<gen%>:%>%{N%}%{I%}н CLITICS-NO-COP ; ! -нын, -нин, -дын, -дин, -тын, -тин, -нун, -нүн, -дун, -дүн, -тун, -түн
%<dat%>:%>%{G%}%{A%} CLITICS-NO-COP ; ! -га, -ка, -ге, -ке, -го, -ко, -гө, -кө
%<acc%>:%>%{N%}%{I%} CLITICS-NO-COP ; ! -ны, -ни, -ды, -ди, -ты, -ти, -ну, -нү, -ду, -дү, -ту, -тү
%<loc%>:%>%{D%}%{A%} CLITICS-INCL-COP ; ! -да, -де, -та, -те, -до, -дө, -то, -тө
LEXICON CASES
CASES-DEFAULT ;
%<abl%>:%>%{D%}%{A%}н CLITICS-INCL-COP ; ! -DA and -DAn can be predicates
LEXICON CASES-PX12SG
CASES-DEFAULT ;
%<abl%>:%>%{D%}%{A%}н CLITICS-INCL-COP ; ! Dir/LR
%<abl%>:%>%{A%}н CLITICS-INCL-COP ;
!LEXICON CASES-SINGULAR-PRONOUNS
!! %<px1sg%>%<nom%>: ! Is this necessary?
!! %<px1sg%>%<gen%>:%>н%{I%}н ! Is this necessary, since it looks normal?
!%<px1sg%>%<acc%>:%>н
!%<px1sg%>%<abl%>:%>н%{A%}н
!%<px1sg%>%<loc%>:%>нд%{A%}
!%<px1sg%>%<dat%>:%>н%{A%}
!%<px1sg%>%<locattr%>:%>нд%{A%}г%{I%}
!
!! %<px3sp%>%<nom%>: # ; ! Is this necessary?
!! %<px3sp%>%<gen%>:%>н%{I%}н # ; ! Is this necessary, since it looks normal?
!%<px3sp%>%<acc%>:%>н # ;
!%<px3sp%>%<abl%>:%>н%{A%}н # ;
!%<px3sp%>%<loc%>:%>нд%{A%} # ;
!%<px3sp%>%<dat%>:%>н%{A%} # ;
!%<px3sp%>%<locattr%>:%>нд%{A%}г%{I%} # ;
LEXICON NIKI
%<gen%>%<subst%>:%>%{N%}%{I%}к%{I%}%{n%} CASES ;
%<gen%>%<subst%>%<pl%>:%>%{N%}%{I%}к%{I%}%{n%}%>%{L%}%{A%}р CASES ;
! %<px%>:%>%{N%}%{I%}к%{I%}%{n%} CASES ; ! Dir/RL
! %<px%>:%>%{N%}%{I%}к%{I%}%{n%} CLITICS-NO-COP ; ! Dir/RL ! FMT: in -kaz this is what the gerunds get.
LEXICON DAY
%<sim%>:%>%{D%}%{A%}й PRED ; ! -дай, -дей, -дөй, -дой, -тай, -тей, -төй, той
%<sim%>:%>%{D%}%{A%}й POSSESSION-ENDINGS ;
%<sim%>:%>%{D%}%{A%}й CASES ; ! FIXME: should these be sim.subst?
%<sim%>:%>%{D%}%{A%}й PLURAL ;
%<equ%>:%>ч%{A%} PRED ; ! -ча, -чо, -че, -чө
LEXICON GEN-POS
CASES ;
!%<px%>:%>%{N%}%{I%}к%{I%}%{n%} CASES ; !CASES-SHORT-ACC ;
!!%<locattr%>:%>%{D%}%{A%}г%{I%} ADJ-DAGI ;
!%<loc%>:%>%{D%}%{A%}г%{I%} DAGI ;
!!%<locattr%>:%>%{D%}%{A%}г%{I%} CASES ;
!!%<locattr%>:%>%{D%}%{A%}г%{I%} V-ADJ ; ! FIXME: when we go recursive, use this
NIKI ;
DAGI ;
DAY ;
LEXICON GEN-POS-PX12SG
CASES-PX12SG ;
!%<px%>:%>%{N%}%{I%}к%{I%}%{n%} CASES ; !CASES-SHORT-ACC ;
!%<loc%>:%>%{D%}%{A%}г%{I%} DAGI ;
!! %<locattr%>:%>%{D%}%{A%}г%{I%} CASES ;
!!%<locattr%>:%>%{D%}%{A%}г%{I%} V-ADJ ; ! FIXME: when we go recursive, use this
NIKI ;
DAGI ;
!! LEXICON GEN-POS-SHORT-ACC
!! CASES-SHORT-ACC ;
!! %<px%>:%>%{N%}%{I%}к%{I%} CASES-SHORT-ACC ;
LEXICON POSSESSION
GEN-POS ;
POSSESSION-ENDINGS ;
LEXICON POSSESSION-ENDINGS ! P_2
%<px1sg%>:%>%{I%}м GEN-POS-PX12SG ;
%<px2sg%>:%>%{I%}ң GEN-POS-PX12SG ;
%<px2sg%>%<frm%>:%>%{I%}ң%{I%}з GEN-POS ;
%<px3sp%>:%>%{s%}%{I%}%{n%} GEN-POS ;
%<px1pl%>:%>%{I%}б%{I%}з GEN-POS ;
%<px2pl%>:%>%{I%}ң%{A%}р GEN-POS ;
%<px2pl%>%<frm%>:%>%{I%}ң%{I%}зд%{A%}р GEN-POS ;
LEXICON VOL-ENDINGS
%<p1%>%<sg%>:%>%{I%}м # ;
%<p2%>%<sg%>:%>%{I%}ң # ;
%<p2%>%<frm%>%<sg%>:%>%{I%}ң%{I%}з # ;
%<p3%>%<sg%>:%>%{s%}%{I%}%{n%} # ;
%<p1%>%<pl%>:%>%{I%}б%{I%}з # ;
%<p2%>%<pl%>:%>%{I%}ң%{A%}р # ;
%<p2%>%<frm%>%<pl%>:%>%{I%}ң%{I%}зд%{A%}р # ;
%<p3%>%<pl%>%[%+p3pl%]:%>%{s%}%{I%}%{n%} # ;
LEXICON EXI
%<adj%>: # ;
%<adj%>: ATTR ;
%<adj%>%<subst%>: POSSESSION ;
LEXICON ABESSIVE-SUFFIX
%+сыз%<post%>:%>с%{I%}з CLITICS-NO-COP ;
LEXICON LUU-SUFFIX
%+луу%<post%>:%>%{L%}%{U%}%{U%} CLITICS-NO-COP ;
LEXICON SUBST-COMMON
%<pl%>:%>%{L%}%{A%}р POSSESSION ;
%<pl%>:%>%{L%}%{A%}р ABESSIVE-SUFFIX ;
POSSESSION ;
ABESSIVE-SUFFIX ;
LUU-SUFFIX ;
LEXICON N1-ABBR
%<n%>%<attr%>: ATTR ;
%<n%>:%- POSSESSION ;
%<n%>%<gen%>:%-%>нын # ; ! FIXME: needs rules and all
LEXICON N-INFL-COMMON
POSSESSION ;
LEXICON PLURAL !! ADDED FMT 2014-08-18
%<pl%>:%>%{L%}%{A%}р CASES ; !! ADDED FMT 2014-08-18
%<pl%>:%>%{L%}%{A%}р POSSESSION ; !! ADDED FMT 2014-08-18
%<pl%>:%>%{L%}%{A%}р ABESSIVE-SUFFIX ; !! ADDED FMT 2014-08-18
LEXICON FULL-NOMINAL-INFLECTION !! ADDED FMT 2014-08-18
PLURAL ; !! ADDED FMT 2014-08-18
CASES ; !! ADDED FMT 2014-08-18
POSSESSION ; !! ADDED FMT 2014-08-18
ABESSIVE-SUFFIX ; !! ADDED FMT 2014-08-18
LUU-SUFFIX ; !! ADDED FMT 2014-08-18
LEXICON N-INFL-SG ! nouns with no/irregular plural
!%<n%>: N-INFL-COMMON ;
!%<n%>%<attr%>:%>%{L%}%{U%}%{U%} ATTR ;
%<n%>%<attr%>: ATTR ;
%<n%>: POSSESSION ;
%<n%>: CASES ;
%<n%>: ABESSIVE-SUFFIX ;
%<n%>: LUU-SUFFIX ;
LEXICON N-INFL-PL ! for irregular plurals
%<n%>%<pl%>: POSSESSION ;
%<n%>%<pl%>: CASES ;
%<n%>%<pl%>: ABESSIVE-SUFFIX ;
%<n%>%<pl%>: LUU-SUFFIX ;
LEXICON N1 ! FIXME
N-INFL ;
LEXICON N6
:%{і%} N1 ;
N1 ; ! Dir/LR ! We want to analyse forms without %{і%}, since they're used
! but "properly" we want to generate forms with %{і%}
LEXICON N-INFL ! Nouns that have a LUU attributive form
%<n%>%<attr%>: # ;
%<n%>: FULL-NOMINAL-INFLECTION ;
!%<n%>: SUBST-COMMON ;
!%<n%>%<attr%>: ATTR ;
!%<n%>%<attr%>:%>%{L%}%{U%}%{U%} ATTR ;
LEXICON N-INFL-KI ! Nouns that have a KI attributive form
%<n%>: KI ;
%<n%>: SUBST-COMMON ;
! LEXICON N-INFL-NO-ATTR ! Used for nouns that have irregular <attr> forms
!
! %<n%>: SUBST-COMMON ;
!
! LEXICON N-INFL-JUST-KI ! Used for nouns that have irregular KI forms
!
! %<n%>: KI ;
LEXICON N-INFL-NKI
%<n%>:%{I%}н KI ; ! Dir/LR
%<n%>:%{I%}ң KI ;
%<n%>: SUBST-COMMON ;
LEXICON N-COMPOUND-PX-COMMON
:%>%{s%}%{I%}%{n%} GEN-POS ;
POSSESSION-ENDINGS ; ! for stuff like "биздин аба ырайыбыз" and even "анын аба ырайы",
! which should have a <px3sp> analysis
LEXICON N-INFL-3PX-COMPOUND
%<n%>: N-COMPOUND-PX-COMMON ;
%<n%>%<pl%>:%>%{L%}%{A%}р%>%{s%}%{I%}%{n%} GEN-POS ;
LEXICON GER-INFL
POSSESSION ;
%<pl%>:%>%{L%}%{A%}р POSSESSION ;
ABESSIVE-SUFFIX ;
LEXICON NP-ORG-COMPOUND
%<np%>%<org%>: N-COMPOUND-PX-COMMON ;
LEXICON ADV-LANG
N-INFL ;
ADV ;
LEXICON NP-TOP-ASSR
%<np%>%<top%>%<attr%>: # ;
%<np%>%<top%>: POSSESSION ;
%<np%>%<top%>:%- POSSESSION ; ! Dir/LR Generate without dash, but allow analysis of forms with dash
LEXICON NP-TOP
%<np%>%<top%>: NP-COMMON ;
%<np%>%<top%>%<attr%>: # ;
! %<adj%>%<top%>:%>%{L%}%{I%}к ADJ-COMMON ; ! FIXME: do these tags make sense?
LEXICON NP-TOP-CLUSTER
:%{і%} NP-TOP ;
NP-TOP ; ! Dir/LR ! We want to analyse forms without %{і%}, since they're used
! but "properly" we want to generate forms with %{і%}
LEXICON NP-TOP-ABBR
%<np%>%<top%>: NP-COMMON ;
%<np%>%<top%>%<attr%>: # ;
%<np%>%<top%>%<nom%>: CLITICS-INCL-COP ; ! Dir/LR
%<np%>%<top%>:%- NP-COMMON ; ! Dir/LR ! also allow like this to be parsed, but generate without -
LEXICON NP-COMMON
! N-INFL-COMMON ;
FULL-NOMINAL-INFLECTION ;
LEXICON NP-COG-COMMON
%<attr%>: # ;
NP-COMMON ;
LEXICON NP-COG-IN
%<np%>%<cog%>%<m%>: NP-COG-COMMON ; ! FIXME
%<np%>%<cog%>%<f%>:а NP-COG-COMMON ; ! FIXME
LEXICON NP-COG-OB
%<np%>%<cog%>%<m%>: NP-COG-COMMON ; ! FIXME
%<np%>%<cog%>%<f%>:а NP-COG-COMMON ; ! FIXME
LEXICON NP-COG-MF
%<np%>%<cog%>%<mf%>: NP-COG-COMMON ;
LEXICON NP-COG-M
%<np%>%<cog%>%<m%>: NP-COG-COMMON ;
LEXICON NP-COG-F
%<np%>%<cog%>%<f%>: NP-COG-COMMON ;
LEXICON NP-ANT-M
%<np%>%<ant%>%<m%>: NP-COMMON ;
%<np%>%<ant%>%<m%>%<pl%>:%>%{L%}%{A%}р NP-COMMON ;
LEXICON NP-ANT-F
%<np%>%<ant%>%<f%>: NP-COMMON ;
%<np%>%<ant%>%<f%>%<pl%>:%>%{L%}%{A%}р NP-COMMON ;
LEXICON NP-ANT-MF
NP-ANT-M ;
NP-ANT-F ;
LEXICON NP-PAT-VICH
! For patronyms ending with -вич
! Their feminine equivalets end with -вна /I.S./
%<np%>%<pat%>%<m%>:вич NP-COMMON ;
%<np%>%<pat%>%<f%>:вна NP-COMMON ;
LEXICON NP-ORG
%<np%>%<org%>: N-INFL-COMMON ;
%<np%>%<org%>%<attr%>: # ;
LEXICON NP-ORG-LAT
%<np%>%<org%>%<nom%>: # ;
%<np%>%<org%>: N-INFL-COMMON-NONOM ; ! Dir/LR
%<np%>%<org%>:%- N-INFL-COMMON-NONOM ;
! This one doesn't work right because of twol:
!%<np%>%<org%>:%' N-INFL-COMMON-NONOM ; ! Dir/LR
%<np%>%<org%>%<attr%>: # ;
LEXICON NP-TOP-COMPOUND
! FIXME:
!%<np%>%<top%>%<nom%>: # ;
!%<np%>%<top%>: N-COMPOUND-PX-COMMON ;
!%<np%>%<top%>%<attr%>: # ;
!probably bad:
!%<np%>%<top%>: NP-COMMON ;
!%<np%>%<top%>%<attr%>: # ;
%<np%>%<top%>: N-COMPOUND-PX-COMMON ;
%<np%>%<top%>%<attr%>:%>%{s%}%{I%}%{n%} # ;
!! LEXICON NP-TOP-ACR
!!
!! %<np%>%<top%>: POSSESSION ;
!! %<np%>%<top%>%<attr%>: # ;
LEXICON NAT
! Nationalities
ADJ ; ! nationality's adjectival form, e.g. "Turkish [food]"
N-INFL ; ! a member of the nationality, e.g. "A Turk"
%>ч%{A%} ADV ; ! as / in the style of the nat., e.g. "à la Turk"
%>ч%{A%} ADV ; ! in the language of the nationality, e.g. "in Turkish"
%>ч%{A%} N-INFL ; ! the language of the nationality, e.g. "Turkish"
LEXICON NUM-COMMON
%<num%>: # ;
%<num%>%<subst%>: SUBST ;
LEXICON NUM-ROMAN
%<num%>%<ord%>: # ;
LEXICON NUM
NUM-COMMON ;
%<num%>%<ord%>:%>%{I%}нч%{I%} # ; ! FIXME: base form, <det> reading
%<num%>%<ord%>%<subst%>:%>%{I%}нч%{I%} SUBST-COMMON ; ! Added <subst>
LEXICON NUM-ITG
%<num%>%<itg%>: # ;
%<num%>%<itg%>%<subst%>: N-INFL-COMMON-NONOM ;
%<num%>%<itg%>%<ord%>:%>%{I%}нч%{I%} N-INFL-COMMON-NONOM ;
LEXICON NP-AL-PL
%<np%>%<al%>: POSSESSION ;
%<np%>%<al%>%<pl%>:%>%{L%}%{A%}р POSSESSION ;
%<np%>%<al%>%<attr%>: # ;
LEXICON NP-AL
%<np%>%<al%>: POSSESSION ;
%<np%>%<al%>%<attr%>: # ;
LEXICON ADJ-LEVELS
! %<pst%>: # ;
# ;
%<comp%>:%>%{I%}р%{A%}%{A%}к CLIT ;
%<comp%>:%>%{I%}р%{A%}к CLIT ; ! Dir/LR
LEXICON A1
%<adj%>: PRED ; !# жақсы адам
%<adj%>%<comp%>:%>%{I%}р%{A%}%{A%}к PRED ; !# жақсырақ іс
%<adj%>%<comp%>:%>%{I%}р%{A%}к PRED ; ! Dir/LR
%<adj%>%<sup%>%[%+red%]: PRED ;
%<adj%>%<subst%>: SUBST ; !# жақсыны таптым
%<adj%>%<comp%>%<subst%>:%>%{I%}р%{A%}%{A%}к SUBST ; !# жақсырақты таптым
%<adj%>%<comp%>%<subst%>:%>%{I%}р%{A%}к SUBST ; ! Dir/LR
%<adj%>%<advl%>: CLIT ; !# жақсы білемін
%<adj%>%<comp%>%<advl%>:%>%{I%}р%{A%}%{A%}к CLIT ; !# "...ион көп болса соғұрлым тоқ жақсырақ өтеді."
%<adj%>%<comp%>%<advl%>:%>%{I%}р%{A%}к CLIT ; ! Dir/LR
LEXICON A2 ! (derived/not fully lexicalised) adjectives without adverbial reading;
! <adj> and <adj.subst> readings have comparison levels.
!# татыктуу
%<adj%>: PRED ; !# татыктуу адам
%<adj%>%<comp%>:%>%{I%}р%{A%}%{A%}к PRED ; !# татыктуураак ага караганда
%<adj%>%<comp%>:%>%{I%}р%{A%}к PRED ; ! Dir/LR
%<adj%>%<sup%>%[%+red%]: PRED ;
%<adj%>%<subst%>: SUBST ; !# чыныгы наамга татыктууну издейли
%<adj%>%<comp%>%<subst%>:%>%{I%}р%{A%}%{A%}к SUBST ; !# "пайгамбардын биринчи ордун басуучулук милдетине барынан татыктуураагы Абу Бакр (р.а.) экендигин билдиришет."
%<adj%>%<comp%>%<subst%>:%>%{I%}р%{A%}к SUBST ; ! Dir/LR
LEXICON A3 ! (derived/not fully lexicalised) adjectives without adverbial reading,
! so-called "predicatives" (бар, жок);
! no comparison levels at all.
!# examples go here
%<adj%>: PRED ; !# example 1
%<adj%>%<subst%>: SUBST ; !# example 2
!# example 3
! FIXME:NOTE:loc.attr/subst form of some of them seems to be pure overgeneration:
! e.g. *язгыдагы
LEXICON A4 ! "pure" adjectives - no adverbial and substantive readings, no comparison levels;
!# улуттук
%<adj%>: PRED ; !# улуттук тамак
LEXICON A5 ! adjectives with comparative reading only;
! <adj> and <adj.comp>
!# кеңири
%<adj%>: PRED ; !# кеңири
%<adj%>%<comp%>:%>%{I%}р%{A%}%{A%}к PRED ; !# продукция үчүн кеңирирээк рыноктор ачылат
%<adj%>%<comp%>:%>%{I%}р%{A%}к PRED ; ! Dir/LR
%<adj%>%<sup%>%[%+red%]: PRED ;
LEXICON A6 ! (derived/not fully lexicalised) adjectives without comparative reading,
! no comparison levels at all.
!# examples go here
%<adj%>: PRED ; !# example 1
%<adj%>%<subst%>: SUBST ; !# example 2
%<adj%>%<advl%>: CLIT ; !# example 3
LEXICON CLIT
# ;
V-CLIT ;
LEXICON SUBST
SUBST-COMMON ;
LEXICON ADJ-COMMON
%<adj%>%<pst%>: # ;
! %<n%>: POSSESSION ; ! all adjectives can be used as nouns
%<adj%>%<subst%>: SUBST-COMMON ;
! %<n%>: N-INFL ; ! all adjectives can be used as nouns
LEXICON DAGI
!!! ADJ-COMMON ; !!!! ! FIXME: when we go recursive, use this instead of CASES
!%<n%>: CASES ;
!! ADJ-COMMON ; !!!! ! FIXME: when we go recursive, use this instead of N-INFL
!!%<n%>: N-INFL ;
!%<adj%>%<pst%>: # ;
!# ;
!%<attr%>: # ;
!!%<subst%>: POSSESSION ;
!!%<subst%>%<pl%>:%{L%}%{A%}р POSSESSION ; ! This is instead of the line below
!%<subst%>: SUBST-COMMON ; ! Use/Circ !! FIXME: when we go recursie, uncomment
%<loc%>%<attr%>:%>%{D%}%{A%}г%{I%} CLITICS-NO-COP ;
!%<loc%>%<subst%>:%>%{D%}%{A%}г%{I%} SUBST-COMMON ; ! Use/Circ !! FIXME: when we go recursie, uncomment
%<loc%>%<subst%>:%>%{D%}%{A%}г%{I%} CASES ;
%<loc%>%<subst%>%<pl%>:%>%{D%}%{A%}г%{I%}%>%{L%}%{A%}р CASES ;
LEXICON V-ADJ
! ADJ-COMMON ;
! %<pst%>: # ;
! # ;
ATTR ;
%<subst%>: SUBST-COMMON ;
LEXICON ATTR
# ;
V-CLIT ;
!ADJ-LEVELS ; ! In theory, there can be <pst> and <comp> readings, but depends what for
LEXICON ADJ
ADJ-COMMON ;
%<adj%>: ADJ-LEVELS ;
%<adj%>%<advl%>: ADVL ;
%<adj%>: V-PERS-COP ;
! LEXICON ADJ-ORD
!
! %<adj%>%<ord%>: # ;
! %<adj%>%<ord%>%<subst%>: POSSESSION ;
!
! LEXICON ADJ-KI
!
! %<attr%>:%>%{K%}%{I%} ADJ-COMMON ;
LEXICON KI
%<attr%>:%>%{K%}%{I%} ATTR ;
%<subst%>:%>%{K%}%{I%} SUBST-COMMON ;
LEXICON ADV-KI
%<adv%>: KI ;
LEXICON IRREGULAR-KI
%<adv%>%<attr%>: ATTR ;
%<adv%>%<subst%>: SUBST-COMMON ;