Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# literal, line 450
if not self.eq_s(2, u"ad"):
raise lab3()
raise lab2()
except lab3: pass
if self.cursor >= self.limit:
raise lab1()
self.cursor += 1
except lab2: pass
# (, line 450
self.I_strlen = 2;
# (, line 450
if not self.I_strlen == self.limit:
raise lab1()
self.cursor = v_2
raise lab0()
except lab1: pass
self.cursor = v_1
# test, line 452
v_4 = self.cursor
# (, line 452
# gopast, line 452
try:
while True:
try:
# literal, line 452
if not self.eq_s(5, u"soyad"):
raise lab5()
raise lab4()
except lab5: pass
if self.cursor >= self.limit:
return False
raise lab4()
raise lab2()
except lab4: pass
self.cursor = self.limit - v_2
try:
# call mark_ysA, line 314
if not self.r_mark_ysA():
raise lab5()
raise lab2()
except lab5: pass
self.cursor = self.limit - v_2
# call mark_yken, line 314
if not self.r_mark_yken():
raise lab1()
except lab2: pass
raise lab0()
except lab1: pass
self.cursor = self.limit - v_1
try:
# (, line 316
# call mark_cAsInA, line 316
if not self.r_mark_cAsInA():
raise lab6()
# (, line 316
# or, line 316
try:
v_3 = self.limit - self.cursor
try:
# call mark_sUnUz, line 316
if not self.r_mark_sUnUz():
raise lab8()
raise lab7()
try:
while True:
try:
if not self.in_grouping(TurkishStemmer.g_vowel, 97, 305):
raise lab4()
raise lab3()
except lab4: pass
if self.cursor >= self.limit:
raise lab2()
self.cursor += 1
except lab3: pass
v_2 -= 1
raise lab1()
except lab2: pass
self.cursor = v_3
raise lab0()
except lab1: pass
except lab0: pass
if v_2 > 0:
return False
self.cursor = v_1
return True
# call stem_suffix_chain_before_ki, line 346
if not self.r_stem_suffix_chain_before_ki():
self.cursor = self.limit - v_9
raise lab14()
except lab14: pass
raise lab9()
except lab11: pass
self.cursor = self.limit - v_7
# (, line 348
# call stem_suffix_chain_before_ki, line 348
if not self.r_stem_suffix_chain_before_ki():
self.cursor = self.limit - v_6
raise lab8()
except lab9: pass
except lab8: pass
raise lab0()
except lab7: pass
self.cursor = self.limit - v_1
# (, line 351
# call mark_ndA, line 351
if not self.r_mark_ndA():
return False
# (, line 351
# or, line 353
try:
v_10 = self.limit - self.cursor
try:
# (, line 352
# call mark_lArI, line 352
if not self.r_mark_lArI():
raise lab16()
# ], line 352
v_2 = self.limit - self.cursor
# literal, line 133
if not self.eq_s_b(1, u"n"):
raise lab1()
self.cursor = self.limit - v_2
# next, line 133
if self.cursor <= self.limit_backward:
raise lab1()
self.cursor -= 1
# (, line 133
# test, line 133
v_3 = self.limit - self.cursor
if not self.in_grouping_b(TurkishStemmer.g_vowel, 97, 305):
raise lab1()
self.cursor = self.limit - v_3
raise lab0()
except lab1: pass
self.cursor = self.limit - v_1
# (, line 135
# (, line 135
# not, line 135
v_4 = self.limit - self.cursor
try:
# (, line 135
# test, line 135
v_5 = self.limit - self.cursor
# literal, line 135
if not self.eq_s_b(1, u"n"):
raise lab2()
self.cursor = self.limit - v_5
return False
except lab2: pass
# test, line 160
v_2 = self.limit - self.cursor
if not self.in_grouping_b(TurkishStemmer.g_U, 105, 305):
raise lab1()
self.cursor = self.limit - v_2
# next, line 160
if self.cursor <= self.limit_backward:
raise lab1()
self.cursor -= 1
# (, line 160
# test, line 160
v_3 = self.limit - self.cursor
if not self.out_grouping_b(TurkishStemmer.g_vowel, 97, 305):
raise lab1()
self.cursor = self.limit - v_3
raise lab0()
except lab1: pass
self.cursor = self.limit - v_1
# (, line 162
# (, line 162
# not, line 162
v_4 = self.limit - self.cursor
try:
# (, line 162
# test, line 162
v_5 = self.limit - self.cursor
if not self.in_grouping_b(TurkishStemmer.g_U, 105, 305):
raise lab2()
self.cursor = self.limit - v_5
return False
except lab2: pass
self.cursor = self.limit - v_4
v_2 = self.limit - self.cursor
# literal, line 154
if not self.eq_s_b(1, u"y"):
raise lab1()
self.cursor = self.limit - v_2
# next, line 154
if self.cursor <= self.limit_backward:
raise lab1()
self.cursor -= 1
# (, line 154
# test, line 154
v_3 = self.limit - self.cursor
if not self.in_grouping_b(TurkishStemmer.g_vowel, 97, 305):
raise lab1()
self.cursor = self.limit - v_3
raise lab0()
except lab1: pass
self.cursor = self.limit - v_1
# (, line 156
# (, line 156
# not, line 156
v_4 = self.limit - self.cursor
try:
# (, line 156
# test, line 156
v_5 = self.limit - self.cursor
# literal, line 156
if not self.eq_s_b(1, u"y"):
raise lab2()
self.cursor = self.limit - v_5
return False
except lab2: pass
# (, line 464
# (, line 465
# call more_than_one_syllable_word, line 465
if not self.r_more_than_one_syllable_word():
return False
# (, line 466
# backwards, line 467
self.limit_backward = self.cursor
self.cursor = self.limit
# (, line 467
# do, line 468
v_1 = self.limit - self.cursor
try:
# call stem_nominal_verb_suffixes, line 468
if not self.r_stem_nominal_verb_suffixes():
raise lab0()
except lab0: pass
self.cursor = self.limit - v_1
# Boolean test continue_stemming_noun_suffixes, line 469
if not self.B_continue_stemming_noun_suffixes:
return False
# do, line 470
v_2 = self.limit - self.cursor
try:
# call stem_noun_suffixes, line 470
if not self.r_stem_noun_suffixes():
raise lab1()
except lab1: pass
self.cursor = self.limit - v_2
self.cursor = self.limit_backward
# call postlude, line 473
if not self.r_postlude():
v_2 = self.limit - self.cursor
# literal, line 144
if not self.eq_s_b(1, u"s"):
raise lab1()
self.cursor = self.limit - v_2
# next, line 144
if self.cursor <= self.limit_backward:
raise lab1()
self.cursor -= 1
# (, line 144
# test, line 144
v_3 = self.limit - self.cursor
if not self.in_grouping_b(TurkishStemmer.g_vowel, 97, 305):
raise lab1()
self.cursor = self.limit - v_3
raise lab0()
except lab1: pass
self.cursor = self.limit - v_1
# (, line 146
# (, line 146
# not, line 146
v_4 = self.limit - self.cursor
try:
# (, line 146
# test, line 146
v_5 = self.limit - self.cursor
# literal, line 146
if not self.eq_s_b(1, u"s"):
raise lab2()
self.cursor = self.limit - v_5
return False
except lab2: pass
def r_append_U_to_stems_ending_with_d_or_g(self):
# (, line 430
# test, line 431
v_1 = self.limit - self.cursor
# (, line 431
# or, line 431
try:
v_2 = self.limit - self.cursor
try:
# literal, line 431
if not self.eq_s_b(1, u"d"):
raise lab1()
raise lab0()
except lab1: pass
self.cursor = self.limit - v_2
# literal, line 431
if not self.eq_s_b(1, u"g"):
return False
except lab0: pass
self.cursor = self.limit - v_1
# or, line 433
try:
v_3 = self.limit - self.cursor
try:
# (, line 432
# test, line 432
v_4 = self.limit - self.cursor
# (, line 432
# (, line 432