Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
raise lab21()
self.cursor -= 1
except lab22: pass
raise lab2()
except lab21: pass
self.cursor = self.limit - v_3
# (, line 123
# literal, line 123
if not self.eq_s_b(1, u"\u00FC"):
return False
# goto, line 123
try:
while True:
v_11 = self.limit - self.cursor
try:
if not self.in_grouping_b(TurkishStemmer.g_vowel6, 246, 252):
raise lab25()
self.cursor = self.limit - v_11
raise lab24()
except lab25: pass
self.cursor = self.limit - v_11
if self.cursor <= self.limit_backward:
return False
self.cursor -= 1
except lab24: pass
except lab2: pass
self.cursor = self.limit - v_1
return True
def r_mark_lAr(self):
# (, line 267
# call check_vowel_harmony, line 268
if not self.r_check_vowel_harmony():
return False
# among, line 269
if self.find_among_b(TurkishStemmer.a_16, 2) == 0:
return False
return True
def r_mark_ndA(self):
# (, line 215
# call check_vowel_harmony, line 216
if not self.r_check_vowel_harmony():
return False
# among, line 217
if self.find_among_b(TurkishStemmer.a_7, 2) == 0:
return False
return True
def r_mark_sUnUz(self):
# (, line 263
# among, line 264
if self.find_among_b(TurkishStemmer.a_15, 4) == 0:
return False
return True
except lab0: pass
# (, line 115
# or, line 116
try:
v_3 = self.limit - self.cursor
try:
# (, line 116
# literal, line 116
if not self.eq_s_b(1, u"a"):
raise lab3()
# goto, line 116
try:
while True:
v_4 = self.limit - self.cursor
try:
if not self.in_grouping_b(TurkishStemmer.g_vowel1, 97, 305):
raise lab5()
self.cursor = self.limit - v_4
raise lab4()
except lab5: pass
self.cursor = self.limit - v_4
if self.cursor <= self.limit_backward:
raise lab3()
self.cursor -= 1
except lab4: pass
raise lab2()
except lab3: pass
self.cursor = self.limit - v_3
try:
# (, line 117
# literal, line 117
if not self.eq_s_b(1, u"e"):
def r_mark_possessives(self):
# (, line 166
# among, line 167
if self.find_among_b(TurkishStemmer.a_0, 10) == 0:
return False
# (, line 169
# call mark_suffix_with_optional_U_vowel, line 169
if not self.r_mark_suffix_with_optional_U_vowel():
return False
return True
def r_mark_nUn(self):
# (, line 193
# call check_vowel_harmony, line 194
if not self.r_check_vowel_harmony():
return False
# among, line 195
if self.find_among_b(TurkishStemmer.a_3, 4) == 0:
return False
# (, line 196
# call mark_suffix_with_optional_n_consonant, line 196
if not self.r_mark_suffix_with_optional_n_consonant():
return False
return True
def r_mark_ncA(self):
# (, line 240
# call check_vowel_harmony, line 241
if not self.r_check_vowel_harmony():
return False
# among, line 242
if self.find_among_b(TurkishStemmer.a_11, 2) == 0:
return False
# (, line 243
# call mark_suffix_with_optional_n_consonant, line 243
if not self.r_mark_suffix_with_optional_n_consonant():
return False
return True
def r_mark_DUr(self):
# (, line 277
# call check_vowel_harmony, line 278
if not self.r_check_vowel_harmony():
return False
# among, line 279
if self.find_among_b(TurkishStemmer.a_18, 8) == 0:
return False
return True
def r_mark_ysA(self):
# (, line 296
# among, line 297
if self.find_among_b(TurkishStemmer.a_21, 8) == 0:
return False
# (, line 298
# call mark_suffix_with_optional_y_consonant, line 298
if not self.r_mark_suffix_with_optional_y_consonant():
return False
return True