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
3

U'íc#ïã@sŒddlmZddlmZGdd„deƒZGdd„deƒZGdd„deƒZGd	d
„d
eƒZGdd„deƒZ	Gd
d„deƒZ
Gdd„deƒZGdd„deƒZGdd„deƒZ
Gdd„deƒZGdd„deƒZGdd„deƒZGdd„deƒZGdd„deƒZGdd „d eƒZGd!d"„d"eƒZGd#d$„d$eƒZGd%d&„d&eƒZGd'd(„d(eƒZGd)d*„d*eƒZGd+d,„d,eƒZGd-d.„d.eƒZGd/d0„d0eƒZGd1d2„d2eƒZGd3d4„d4eƒZGd5d6„d6eƒZGd7d8„d8eƒZGd9d:„d:eƒZ Gd;d<„d<eƒZ!Gd=d>„d>eƒZ"Gd?d@„d@eƒZ#GdAdB„dBeƒZ$GdCdD„dDeƒZ%GdEdF„dFeƒZ&GdGdH„dHeƒZ'GdIdJ„dJeƒZ(GdKdL„dLeƒZ)GdMdN„dNeƒZ*GdOdP„dPeƒZ+GdQdR„dReƒZ,GdSdT„dTeƒZ-GdUdV„dVeƒZ.GdWdX„dXeƒZ/GdYdZ„dZeƒZ0Gd[d\„d\eƒZ1Gd]d^„d^eƒZ2Gd_d`„d`eƒZ3Gdadb„dbeƒZ4Gdcdd„ddeƒZ5Gdedf„dfeƒZ6Gdgdh„dheƒZ7Gdidj„djeƒZ8Gdkdl„dleƒZ9Gdmdn„dneƒZ:Gdodp„dpeƒZ;dqS)ré)ÚBaseStemmer)ÚAmongc#@s	eZdZdZeddÖd׃eddØdكeddÚdۃeddÜd݃eddÞd߃eddàdáƒed	dâdãƒed
dädåƒeddædçƒeddèdéƒg
Zed
dêdëƒeddìdíƒgZeddîdïƒeddðdñƒeddòdóƒeddôdõƒgZeddöd÷ƒeddødùƒeddúdûƒeddüdýƒgZeddþdÿƒedddƒgZ	edddƒedddƒgZ
edddƒeddd	ƒedd
dƒeddd
ƒgZedddƒed ddƒgZed!ddƒed"ddƒed#ddƒed$ddƒgZ
ed%ddƒed&ddƒgZed'ddƒed(d d!ƒgZed)d"d#ƒed*d$d%ƒgZed+d&d'ƒed,d(d)ƒed-d*d+ƒed.d,d-ƒgZed/d.d/ƒed0d0d1ƒed1d2d3ƒed2d4d5ƒgZed3d6d7ƒed4d8d9ƒed5d:d;ƒed6d<d=ƒgZed7d>d?ƒed8d@dAƒed9dBdCƒed:dDdEƒgZed;dFdGƒed<dHdIƒgZeddJdKƒeddLdMƒed
dNdOƒeddPdQƒgZed=dRdSƒed>dTdUƒed?dVdWƒed@dXdYƒedAdZd[ƒedBd\d]ƒedCd^d_ƒedDd`daƒgZedEdbdcƒedFdddeƒgZedGdfdgƒedHdhdiƒedIdjdkƒedJdldmƒedKdndoƒedLdpdqƒedMdrdsƒedNdtduƒedOdvdwƒedPdxdyƒedQdzd{ƒedRd|d}ƒedSd~dƒedTd€dƒedUd‚dƒƒedVd„d…ƒedWd†d‡ƒedXdˆd‰ƒedYdŠd‹ƒedZdŒdƒed[dŽdƒed\dd‘ƒed]d’d“ƒed^d”d•ƒed_d–d—ƒed`d˜d™ƒedadšd›ƒedbdœdƒedcdždŸƒeddd d¡ƒeded¢d£ƒedfd¤d¥ƒg Zedgd¦d§ƒedhd¨d©ƒedidªd«ƒedjd¬d­ƒedkd®d¯ƒedld°d±ƒedmd²d³ƒednd´dµƒgZedod¶d·ƒedpd¸d¹ƒedqdºd»ƒedrd¼d½ƒgZedsd¾dƒedtd¿duƒedvdÀdwƒedxdÁdyƒgZdzd{d|d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d~dd}d}d}d}d}d}dgZdd|d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}dd}d}d}d}d}d}dgZdd€d|d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}dgZdzd}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}dgZ dd}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}d}dgZ!dzgZ"d{gZ#d{gZ$d‚Z%dƒd„„Z&d…d†„Z'd‡dˆ„Z(d‰dŠ„Z)d‹dŒ„Z*ddŽ„Z+dd„Z,d‘d’„Z-d“d”„Z.d•d–„Z/d—d˜„Z0d™dš„Z1d›dœ„Z2ddž„Z3dŸd „Z4d¡d¢„Z5d£d¤„Z6d¥d¦„Z7d§d¨„Z8d©dª„Z9d«d¬„Z:d­d®„Z;d¯d°„Z<d±d²„Z=d³d´„Z>dµd¶„Z?d·d¸„Z@d¹dº„ZAd»d¼„ZBd½d¾„ZCd¿dÀ„ZDdÁd„ZEdÃdĄZFdÅdƄZGdÇdȄZHdÉdʄZIdËd̄ZJdÍd΄ZKdÏdЄZLdÑd҄ZMdÓdԄZNdÕS(ÂÚTurkishStemmerz
    This class implements the stemming algorithm defined by a snowball script.
    Generated by Snowball 2.2.0 - https://snowballstem.org/
    ÚmrÚnZmizZnizZmuzZnuzumüzunüzumızunızZleriularıÚniÚnuunüunıÚinZunuünuınÚaÚeÚnaÚneÚdaÚtaÚdeÚteZndaZndeZdanÚtanZdenZtenZndanZndenZlaÚleÚcaZceZimZumuümuımÚsinÚsunusünusınZizÚuzuüzuızZsinizZsunuzusünüzusınızZlarZlerÚdirZtirZdurZturudürutürudırutırucasınaZcesineZdiZtiZdikZtikZdukZtukudükutükudıkutıkZdimZtimZdumZtumudümutümudımutımZdinZtinZdunZtunudünutünudınutınZduZtuudüutüudıutıÚsaÚseZsakZsekZsamZsemÚsanZsenumişumuşumüşumışÚbÚcéÚdéuğéééAééé éé@é‚FcBCsÚ|j|j}|jtjddƒs dSy|j|j}y0|jdƒsBtƒ‚|jtjddƒsXtƒ‚tƒ‚Wntk
rtYnX|j||_y0|jdƒs”t	ƒ‚|jtj
ddƒsªt	ƒ‚tƒ‚Wnt	k
rÆYnX|j||_y2|jdƒsætƒ‚|jtjddƒsþtƒ‚tƒ‚Wntk
rYnX|j||_y4|jd	ƒs>t
ƒ‚|jtjdd
ƒsVt
ƒ‚tƒ‚Wnt
k
rtYnX|j||_y4|jdƒs–tƒ‚|jtjdd
ƒs®tƒ‚tƒ‚Wntk
rÌYnX|j||_y4|jdƒsîtƒ‚|jtjddƒstƒ‚tƒ‚Wntk
r$YnX|j||_y4|jdƒsFtƒ‚|jtjdd
ƒs^tƒ‚tƒ‚Wntk
r|YnX|j||_|jdƒsšdS|jtjddƒs°dSWntk
rÈYnX|j||_dS)Néai1Fr
réeéüuıÚiéiÚoéoéuõöéöÚuõüT)ÚlimitÚcursorÚgo_out_grouping_brÚg_vowelÚeq_s_bÚlab1Úg_vowel1Úlab0Úlab2Úg_vowel2Úlab3Úg_vowel3Úlab4Úg_vowel4Úlab5Úg_vowel5Úlab6Úg_vowel6Úlab7)ÚselfÚv_1Úv_2©rLúJ/tmp/pip-build-gk9425m9/snowballstemmer/snowballstemmer/turkish_stemmer.pyZ__r_check_vowel_harmonyßs˜









z&TurkishStemmer.__r_check_vowel_harmonycCs>y |j|j}yH|jdƒs"tƒ‚|j|j}|jtjddƒsDtƒ‚|j||_tƒ‚Wntk
rlYnX|j||_|j|j}y,|j|j}|jdƒs¤tƒ‚|j||_dStk
rÆYnX|j||_|j|j}|j|j	krðdS|jd8_|jtjddƒsdS|j||_Wntk
r8YnXdS)Nrr*i1FrT)
r6r7r:r;Ú
in_grouping_brr9r=r>Úlimit_backward)rIrJrKÚv_3Úv_4Úv_5rLrLrMZ)__r_mark_suffix_with_optional_n_consonant%sB


z8TurkishStemmer.__r_mark_suffix_with_optional_n_consonantcCs>y |j|j}yH|jdƒs"tƒ‚|j|j}|jtjddƒsDtƒ‚|j||_tƒ‚Wntk
rlYnX|j||_|j|j}y,|j|j}|jdƒs¤tƒ‚|j||_dStk
rÆYnX|j||_|j|j}|j|j	krðdS|jd8_|jtjddƒsdS|j||_Wntk
r8YnXdS)NÚsr*i1FrT)
r6r7r:r;rNrr9r=r>rO)rIrJrKrPrQrRrLrLrMZ)__r_mark_suffix_with_optional_s_consonantEsB


z8TurkishStemmer.__r_mark_suffix_with_optional_s_consonantcCs>y |j|j}yH|jdƒs"tƒ‚|j|j}|jtjddƒsDtƒ‚|j||_tƒ‚Wntk
rlYnX|j||_|j|j}y,|j|j}|jdƒs¤tƒ‚|j||_dStk
rÆYnX|j||_|j|j}|j|j	krðdS|jd8_|jtjddƒsdS|j||_Wntk
r8YnXdS)NÚyr*i1FrT)
r6r7r:r;rNrr9r=r>rO)rIrJrKrPrQrRrLrLrMZ)__r_mark_suffix_with_optional_y_consonantesB


z8TurkishStemmer.__r_mark_suffix_with_optional_y_consonantcCsLy.|j|j}yN|jtjddƒs(tƒ‚|j|j}|jtjddƒsJtƒ‚|j||_tƒ‚Wntk
rrYnX|j||_|j|j}y2|j|j}|jtjddƒs°t	ƒ‚|j||_dSt	k
rÒYnX|j||_|j|j}|j|j
krþdS|jd8_|jtjddƒs"dS|j||_Wntk
rFYnXdS)Nr.i1r*FrT)r6r7rNrÚg_Ur;Zout_grouping_br9r=r>rO)rIrJrKrPrQrRrLrLrMZ%__r_mark_suffix_with_optional_U_vowel…sB
z4TurkishStemmer.__r_mark_suffix_with_optional_U_vowelcCs$|jtjƒdkrdS|jƒs dSdS)Nr%FT)Úfind_among_brÚa_0Ú4_TurkishStemmer__r_mark_suffix_with_optional_U_vowel)rIrLrLrMZ__r_mark_possessives¥s
z#TurkishStemmer.__r_mark_possessivescCs0|jƒsdS|jtjddƒs dS|jƒs,dSdS)NFr.i1T)Ú&_TurkishStemmer__r_check_vowel_harmonyrNrrUÚ8_TurkishStemmer__r_mark_suffix_with_optional_s_consonant)rIrLrLrMZ__r_mark_sU¬szTurkishStemmer.__r_mark_sUcCs|jtjƒdkrdSdS)Nr%FT)rVrÚa_1)rIrLrLrMZ
__r_mark_lArIµszTurkishStemmer.__r_mark_lArIcCs0|jƒsdS|jtjddƒs dS|jƒs,dSdS)NFr.i1T)rYrNrrUÚ8_TurkishStemmer__r_mark_suffix_with_optional_y_consonant)rIrLrLrMZ__r_mark_yUºszTurkishStemmer.__r_mark_yUcCs$|jƒsdS|jtjƒdkr dSdS)NFr%T)rYrVrÚa_2)rIrLrLrMZ__r_mark_nUÃs
zTurkishStemmer.__r_mark_nUcCs0|jƒsdS|jtjƒdkr dS|jƒs,dSdS)NFr%T)rYrVrÚa_3Ú8_TurkishStemmer__r_mark_suffix_with_optional_n_consonant)rIrLrLrMZ__r_mark_nUnÊszTurkishStemmer.__r_mark_nUncCs0|jƒsdS|jtjƒdkr dS|jƒs,dSdS)NFr%T)rYrVrÚa_4r\)rIrLrLrMZ__r_mark_yAÓszTurkishStemmer.__r_mark_yAcCs$|jƒsdS|jtjƒdkr dSdS)NFr%T)rYrVrÚa_5)rIrLrLrMZ__r_mark_nAÜs
zTurkishStemmer.__r_mark_nAcCs$|jƒsdS|jtjƒdkr dSdS)NFr%T)rYrVrÚa_6)rIrLrLrMZ__r_mark_DAãs
zTurkishStemmer.__r_mark_DAcCs$|jƒsdS|jtjƒdkr dSdS)NFr%T)rYrVrÚa_7)rIrLrLrMZ__r_mark_ndAês
zTurkishStemmer.__r_mark_ndAcCs$|jƒsdS|jtjƒdkr dSdS)NFr%T)rYrVrÚa_8)rIrLrLrMZ__r_mark_DAnñs
zTurkishStemmer.__r_mark_DAncCs$|jƒsdS|jtjƒdkr dSdS)NFr%T)rYrVrÚa_9)rIrLrLrMZ
__r_mark_ndAnøs
zTurkishStemmer.__r_mark_ndAncCs0|jƒsdS|jtjƒdkr dS|jƒs,dSdS)NFr%T)rYrVrÚa_10r\)rIrLrLrMZ__r_mark_ylAÿszTurkishStemmer.__r_mark_ylAcCs|jdƒsdSdS)NZkiFT)r:)rIrLrLrMZ__r_mark_kis
zTurkishStemmer.__r_mark_kicCs0|jƒsdS|jtjƒdkr dS|jƒs,dSdS)NFr%T)rYrVrÚa_11r_)rIrLrLrMZ__r_mark_ncA
szTurkishStemmer.__r_mark_ncAcCs0|jƒsdS|jtjƒdkr dS|jƒs,dSdS)NFr%T)rYrVrÚa_12r\)rIrLrLrMZ__r_mark_yUmszTurkishStemmer.__r_mark_yUmcCs$|jƒsdS|jtjƒdkr dSdS)NFr%T)rYrVrÚa_13)rIrLrLrMZ__r_mark_sUns
zTurkishStemmer.__r_mark_sUncCs0|jƒsdS|jtjƒdkr dS|jƒs,dSdS)NFr%T)rYrVrÚa_14r\)rIrLrLrMZ__r_mark_yUz&szTurkishStemmer.__r_mark_yUzcCs|jtjƒdkrdSdS)Nr%FT)rVrÚa_15)rIrLrLrMZ__r_mark_sUnUz/szTurkishStemmer.__r_mark_sUnUzcCs$|jƒsdS|jtjƒdkr dSdS)NFr%T)rYrVrÚa_16)rIrLrLrMZ__r_mark_lAr4s
zTurkishStemmer.__r_mark_lArcCs$|jƒsdS|jtjƒdkr dSdS)NFr%T)rYrVrÚa_17)rIrLrLrMZ__r_mark_nUz;s
zTurkishStemmer.__r_mark_nUzcCs$|jƒsdS|jtjƒdkr dSdS)NFr%T)rYrVrÚa_18)rIrLrLrMZ__r_mark_DUrBs
zTurkishStemmer.__r_mark_DUrcCs|jtjƒdkrdSdS)Nr%FT)rVrÚa_19)rIrLrLrMZ__r_mark_cAsInAIszTurkishStemmer.__r_mark_cAsInAcCs0|jƒsdS|jtjƒdkr dS|jƒs,dSdS)NFr%T)rYrVrÚa_20r\)rIrLrLrMZ__r_mark_yDUNszTurkishStemmer.__r_mark_yDUcCs$|jtjƒdkrdS|jƒs dSdS)Nr%FT)rVrÚa_21r\)rIrLrLrMZ__r_mark_ysAWs
zTurkishStemmer.__r_mark_ysAcCs0|jƒsdS|jtjƒdkr dS|jƒs,dSdS)NFr%T)rYrVrÚa_22r\)rIrLrLrMZ__r_mark_ymUs_^szTurkishStemmer.__r_mark_ymUs_cCs|jdƒsdS|jƒsdSdS)NZkenFT)r:r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_|jƒs²dS|j|_|jƒsÈdS|j|j}	yˆ|j|_yF|j|j}
y|jƒst.ƒ‚t/ƒ‚Wnt.k
r YnX|j|
|_y|jƒs@t0ƒ‚t/ƒ‚Wnt0k
r^YnX|j|
|_y|jƒs~t1ƒ‚t/ƒ‚Wnt1k
rœYnX|j|
|_y|jƒs¼t2ƒ‚t/ƒ‚Wnt2k
rÚYnX|j|
|_y|jƒsút3ƒ‚t/ƒ‚Wnt3k
rYnX|j|
|_Wnt/k
r>YnX|jƒs\|j|	|_t4ƒ‚Wnt4k
rtYnXWnt
k
rŽYnX|j|_|jƒs¦dSdS)NTF)5r7ÚketÚ!B_continue_stemming_noun_suffixesr6Ú_TurkishStemmer__r_mark_ymUs_r@r>Ú_TurkishStemmer__r_mark_yDUrBÚ_TurkishStemmer__r_mark_ysArDÚ_TurkishStemmer__r_mark_ykenr;r=Ú_TurkishStemmer__r_mark_cAsInArFÚ_TurkishStemmer__r_mark_sUnUzÚlab8rHÚ_TurkishStemmer__r_mark_lArÚlab9Ú_TurkishStemmer__r_mark_yUmÚlab10Ú_TurkishStemmer__r_mark_sUnÚlab11Ú_TurkishStemmer__r_mark_yUzÚlab12Úlab13ÚbraÚ	slice_delÚ_TurkishStemmer__r_mark_DUrÚlab16Úlab15Úlab17Úlab18Úlab14Ú_TurkishStemmer__r_mark_nUzÚlab19Úlab21Úlab20Úlab24Úlab23Úlab25Úlab26Úlab22Úlab27Úlab30Úlab29Úlab31Úlab32Úlab33Úlab34Úlab28)rIrJrKrPrQrRÚv_6Úv_7Úv_8Úv_9Úv_10rLrLrMZ__r_stem_nominal_verb_suffixesnsò































































z-TurkishStemmer.__r_stem_nominal_verb_suffixescƒCsþ|j|_|jƒsdSyÌ|j|j}yÆ|jƒs6tƒ‚|j|_|jƒsJdS|j|j}yt|j|_yN|j|j}yl|jƒs‚t	ƒ‚|j|_|jƒs–dS|j|j}y|j
ƒs¾|j||_tƒ‚Wntk
rÔYnXtƒ‚Wnt	k
ròYnX|j||_|j
ƒs|j||_tƒ‚|j|_|jƒs2dS|j|j}yZ|j|_|jƒsd|j||_tƒ‚|j|_|jƒszdS|j
ƒs–|j||_tƒ‚Wntk
r®YnXWntk
rÈYnXWntk
râYnXtƒ‚Wntk
rYnX|j||_y>|jƒs$tƒ‚|j|_|jƒs:dS|j|j}yè|j|_yÂ|j|j}y0|jƒsttƒ‚|j|_|jƒsŠdStƒ‚Wntk
r¨YnX|j||_y|j|_y^|j|j}y|j
ƒsâtƒ‚tƒ‚Wntk
rYnX|j||_|jƒstƒ‚Wntk
r6YnX|j|_|jƒsNdS|j|j}	yZ|j|_|jƒs€|j|	|_tƒ‚|j|_|jƒs–dS|j
ƒs²|j|	|_tƒ‚Wntk
rÊYnXtƒ‚Wntk
rêYnX|j||_|j
ƒs|j||_tƒ‚Wntk
r,YnXWntk
rFYnXtƒ‚Wntk
rfYnX|j||_|jƒs‚dSyD|j|j}
y0|jƒs¤tƒ‚|j|_|jƒsºdStƒ‚Wntk
rØYnX|j|
|_y®|jƒsøtƒ‚|j|_|jƒsdS|j|j}yZ|j|_|jƒs@|j||_t ƒ‚|j|_|jƒsVdS|j
ƒsr|j||_t ƒ‚Wnt k
rŠYnXtƒ‚Wntk
rªYnX|j|
|_|j
ƒsÆdSWntk
rÞYnXWntk
røYnXdS)NFT)!r7rsÚ_TurkishStemmer__r_mark_kir6Ú_TurkishStemmer__r_mark_DAr;r…r†r|rBÚ._TurkishStemmer__r_stem_suffix_chain_before_kirDr@Ú#_TurkishStemmer__r_mark_possessivesr>rFr=Ú_TurkishStemmer__r_mark_nUnrHÚ_TurkishStemmer__r_mark_lArIrr}r„rƒÚ_TurkishStemmer__r_mark_sUrrŒr{Ú_TurkishStemmer__r_mark_ndArˆr‰rŠr‹)rIrJrKrPrQrRržrŸr r¡r¢Úv_11rLrLrMZ__r_stem_suffix_chain_before_kiJs\










































z.TurkishStemmer.__r_stem_suffix_chain_before_kicsCsJy,|j|j}yt|j|_|jƒs(tƒ‚|j|_|j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‚WntEk
r8YnXtFƒ‚WntDk
rXYnX|j||_|jƒs‚|j||_tGƒ‚WntFk
ršYnX|j|_|jƒs²dS|j|_|jƒsÖ|j||_tGƒ‚WntGk
rîYnXt	ƒ‚WntCk
rYnX|j||_|j|_y\|j|j}y|jƒsDtHƒ‚tIƒ‚WntHk
rbYnX|j||_|jƒs~dSWntIk
r–YnX|j|_|jƒs®dS|j|j}yZ|j|_|jƒsà|j||_tJƒ‚|j|_|jƒsödS|jƒs|j||_tJƒ‚WntJk
r*YnXWnt	k
rDYnXdS)NFT)Kr6r7rsr|r;r…r†r¥r>r=Ú_TurkishStemmer__r_mark_ncAr@r¨rFrDr¦r}r{r©rHrrBrªr„rƒÚ_TurkishStemmer__r_mark_nArr‰rŒrˆrŠÚ_TurkishStemmer__r_mark_ndAnrrŽÚ_TurkishStemmer__r_mark_nUr‹r•r’rÚ_TurkishStemmer__r_mark_DAnr‘r–rr”r˜r—r“r§r›ršÚ_TurkishStemmer__r_mark_ylAr™Úlab36Úlab35Úlab39Úlab38Úlab37Úlab40rœÚlab41Úlab42r¤Úlab45Úlab44Ú_TurkishStemmer__r_mark_yUÚlab46Ú_TurkishStemmer__r_mark_yAÚlab43Úlab49Úlab50Úlab48Úlab47Úlab52Úlab51Úlab53)rIrJrKrPrQrRržrŸr r¡r¢r«Zv_12Zv_13Zv_14Zv_15Zv_16Zv_17Zv_18Zv_19Zv_20Zv_21Zv_22Zv_23Zv_24Zv_25Zv_26Zv_27rLrLrMZ__r_stem_noun_suffixesòs¨




























































































































z%TurkishStemmer.__r_stem_noun_suffixescCs‚|j|_|jtjƒ}|dkr dS|j|_|dkr@|jdƒs~dSn>|dkrX|jdƒs~dSn&|dkrp|jdƒs~dSn|jd	ƒs~dSd
S)Nr%FrÚprõçr ÚtÚkT)r7rsrVrÚa_23r…Z
slice_from)rIZ	among_varrLrLrMZ __r_post_process_last_consonants«s"



z/TurkishStemmer.__r_post_process_last_consonantsc
bCsX|j|j}yZ|j|j}y|jdƒs,tƒ‚tƒ‚Wntk
rHYnX|j||_|jdƒsddSWntk
rzYnX|j||_y²|j|j}yÎ|j|j}|jtjddƒs¼tƒ‚y`|j|j}y|jdƒsÜt	ƒ‚t
ƒ‚Wnt	k
rúYnX|j||_|jdƒstƒ‚Wnt
k
r2YnX|j||_|j}|j|j|jdƒ||_tƒ‚Wntk
r|YnX|j||_yÒ|j|j}|jtjddƒs°t
ƒ‚yb|j|j}y|jdƒsÒtƒ‚tƒ‚Wntk
rðYnX|j||_|jd	ƒst
ƒ‚Wntk
r(YnX|j||_|j}|j|j|jd	ƒ||_tƒ‚Wnt
k
rrYnX|j||_yÒ|j|j}	|jtjddƒs¦tƒ‚yb|j|j}
y|jd
ƒsÈtƒ‚tƒ‚Wntk
ræYnX|j|
|_|jdƒstƒ‚Wntk
rYnX|j|	|_|j}|j|j|jdƒ||_tƒ‚Wntk
rhYnX|j||_|j|j}|jtjddƒs˜dSy`|j|j}y|jdƒsºtƒ‚tƒ‚Wntk
rØYnX|j||_|jd
ƒsödSWntk
rYnX|j||_|j}|j|j|jd
ƒ||_Wntk
rRYnXdS)NrÚgFr*i1r
uırr-r/r4r2r5T)r6r7r:r;r=r8rr9r@rDrBÚinsertr>rFr{rHr}rrr„rƒ)
rIrJrKrPrQrRrržrŸr r¡r¢r«rLrLrMZ(__r_append_U_to_stems_ending_with_d_or_g¿sæ














z7TurkishStemmer.__r_append_U_to_stems_ending_with_d_or_gcCsd|jdƒsdS|j|j}y |jdƒs8|j||_tƒ‚Wntk
rNYnX|j|jkr`dSdS)NÚadFZsoyT)r:r6r7r=rO)rIrJrLrLrMZ__r_is_reserved_word&s


z#TurkishStemmer.__r_is_reserved_wordcCs||j}d}xZ|j}y2|jtjddƒs*tƒ‚|jd7_|d8}wWntk
rXYnX||_PqW|dkrrdS||_dS)Nrr*i1rr%FT)r7Zgo_out_groupingrr9r=)rIrJrKrPrLrLrMZ__r_more_than_one_syllable_word3s$z.TurkishStemmer.__r_more_than_one_syllable_wordcCsœ|j|_|j|_|j|j}y|jƒs,tƒ‚dStk
rBYnX|j||_|j|j}|jƒ|j||_|j|j}|jƒ|j||_|j|_dS)NFT)r7rOr6Ú#_TurkishStemmer__r_is_reserved_wordr=Ú7_TurkishStemmer__r_append_U_to_stems_ending_with_d_or_gÚ/_TurkishStemmer__r_post_process_last_consonants)rIrJrKrPrLrLrMZ__r_postludeFs$zTurkishStemmer.__r_postludecCs~|jƒsdS|j|_|j|_|j|j}|jƒ|j||_|jsFdS|j|j}|jƒ|j||_|j|_|jƒszdSdS)NFT)Ú._TurkishStemmer__r_more_than_one_syllable_wordr7rOr6Ú-_TurkishStemmer__r_stem_nominal_verb_suffixesrtÚ%_TurkishStemmer__r_stem_noun_suffixesÚ_TurkishStemmer__r_postlude)rIrJrKrLrLrMÚ_stemYs zTurkishStemmer._stemNéÿÿÿÿr×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×r×)OÚ__name__Ú
__module__Ú__qualname__Ú__doc__rrWr[r]r^r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrËr9rUr<r?rArCrErGrtrYr_rZr\rXr¦r©r¨r¼r¯r§r¾r­r¤rªr°r®r±r£r¬r~r€r‚rzr|rr‡ryrvrwrurxrÓr¥rÔrÑrÐrÏrÒrÕrÖrLrLrLrMrs`
















:8:*:F    										])<g
rc@seZdZdS)r=N)rØrÙrÚrLrLrLrMr=lsr=c@seZdZdS)r;N)rØrÙrÚrLrLrLrMr;osr;c@seZdZdS)r>N)rØrÙrÚrLrLrLrMr>rsr>c@seZdZdS)r@N)rØrÙrÚrLrLrLrMr@usr@c@seZdZdS)rBN)rØrÙrÚrLrLrLrMrBxsrBc@seZdZdS)rDN)rØrÙrÚrLrLrLrMrD{srDc@seZdZdS)rFN)rØrÙrÚrLrLrLrMrF~srFc@seZdZdS)rHN)rØrÙrÚrLrLrLrMrHsrHc@seZdZdS)r{N)rØrÙrÚrLrLrLrMr{„sr{c@seZdZdS)r}N)rØrÙrÚrLrLrLrMr}‡sr}c@seZdZdS)rN)rØrÙrÚrLrLrLrMrŠsrc@seZdZdS)rN)rØrÙrÚrLrLrLrMrsrc@seZdZdS)rƒN)rØrÙrÚrLrLrLrMrƒsrƒc@seZdZdS)r„N)rØrÙrÚrLrLrLrMr„“sr„c@seZdZdS)rŒN)rØrÙrÚrLrLrLrMrŒ–srŒc@seZdZdS)r‰N)rØrÙrÚrLrLrLrMr‰™sr‰c@seZdZdS)rˆN)rØrÙrÚrLrLrLrMrˆœsrˆc@seZdZdS)rŠN)rØrÙrÚrLrLrLrMrŠŸsrŠc@seZdZdS)r‹N)rØrÙrÚrLrLrLrMr‹¢sr‹c@seZdZdS)rŽN)rØrÙrÚrLrLrLrMrŽ¥srŽc@seZdZdS)rN)rØrÙrÚrLrLrLrMr¨src@seZdZdS)rN)rØrÙrÚrLrLrLrMr«src@seZdZdS)r•N)rØrÙrÚrLrLrLrMr•®sr•c@seZdZdS)r’N)rØrÙrÚrLrLrLrMr’±sr’c@seZdZdS)r‘N)rØrÙrÚrLrLrLrMr‘´sr‘c@seZdZdS)r“N)rØrÙrÚrLrLrLrMr“·sr“c@seZdZdS)r”N)rØrÙrÚrLrLrLrMr”ºsr”c@seZdZdS)r–N)rØrÙrÚrLrLrLrMr–½sr–c@seZdZdS)rN)rØrÙrÚrLrLrLrMrÀsrc@seZdZdS)r˜N)rØrÙrÚrLrLrLrMr˜Ãsr˜c@seZdZdS)r—N)rØrÙrÚrLrLrLrMr—Æsr—c@seZdZdS)r™N)rØrÙrÚrLrLrLrMr™Ésr™c@seZdZdS)ršN)rØrÙrÚrLrLrLrMršÌsršc@seZdZdS)r›N)rØrÙrÚrLrLrLrMr›Ïsr›c@seZdZdS)rœN)rØrÙrÚrLrLrLrMrœÒsrœc@seZdZdS)r³N)rØrÙrÚrLrLrLrMr³Õsr³c@seZdZdS)r²N)rØrÙrÚrLrLrLrMr²Øsr²c@seZdZdS)r¶N)rØrÙrÚrLrLrLrMr¶Ûsr¶c@seZdZdS)rµN)rØrÙrÚrLrLrLrMrµÞsrµc@seZdZdS)r´N)rØrÙrÚrLrLrLrMr´ásr´c@seZdZdS)r·N)rØrÙrÚrLrLrLrMr·äsr·c@seZdZdS)r¸N)rØrÙrÚrLrLrLrMr¸çsr¸c@seZdZdS)r¹N)rØrÙrÚrLrLrLrMr¹êsr¹c@seZdZdS)r¿N)rØrÙrÚrLrLrLrMr¿ísr¿c@seZdZdS)r»N)rØrÙrÚrLrLrLrMr»ðsr»c@seZdZdS)rºN)rØrÙrÚrLrLrLrMrºósrºc@seZdZdS)r½N)rØrÙrÚrLrLrLrMr½ösr½c@seZdZdS)rÃN)rØrÙrÚrLrLrLrMrÃùsrÃc@seZdZdS)rÂN)rØrÙrÚrLrLrLrMrÂüsrÂc@seZdZdS)rÀN)rØrÙrÚrLrLrLrMrÀÿsrÀc@seZdZdS)rÁN)rØrÙrÚrLrLrLrMrÁsrÁc@seZdZdS)rÅN)rØrÙrÚrLrLrLrMrÅsrÅc@seZdZdS)rÄN)rØrÙrÚrLrLrLrMrÄsrÄc@seZdZdS)rÆN)rØrÙrÚrLrLrLrMrÆsrÆN)<ZbasestemmerrZamongrrÚ
BaseExceptionr=r;r>r@rBrDrFrHr{r}rrrƒr„rŒr‰rˆrŠr‹rŽrrr•r’r‘r“r”r–rr˜r—r™ršr›rœr³r²r¶rµr´r·r¸r¹r¿r»rºr½rÃrÂrÀrÁrÅrÄrÆrLrLrLrMÚ<module>sˆq