@@ -393,15 +393,24 @@ namespace stemming
393
393
stem<string_typeT>::update_r_sections (text);
394
394
}
395
395
else if (text.length () >= 4 &&
396
- (stem<string_typeT>::is_either (text[text.length () - 4 ], common_lang_constants::LOWER_I, common_lang_constants::UPPER_I) ||
397
- stem<string_typeT>::is_either (text[text.length () - 4 ], common_lang_constants::LOWER_K, common_lang_constants::UPPER_K) ||
398
- stem<string_typeT>::is_either (text[text.length () - 4 ], common_lang_constants::LOWER_L, common_lang_constants::UPPER_L) ||
399
- stem<string_typeT>::is_either (text[text.length () - 4 ], common_lang_constants::LOWER_N, common_lang_constants::UPPER_N) ||
400
- stem<string_typeT>::is_either (text[text.length () - 4 ], common_lang_constants::LOWER_P, common_lang_constants::UPPER_P) ||
401
- stem<string_typeT>::is_either (text[text.length () - 4 ], common_lang_constants::LOWER_R, common_lang_constants::UPPER_R) ||
402
- stem<string_typeT>::is_either (text[text.length () - 4 ], common_lang_constants::LOWER_T, common_lang_constants::UPPER_T) ||
403
- stem<string_typeT>::is_either (text[text.length () - 4 ], common_lang_constants::LOWER_U, common_lang_constants::UPPER_U) ||
404
- stem<string_typeT>::is_either (text[text.length () - 4 ], common_lang_constants::LOWER_V, common_lang_constants::UPPER_V)) &&
396
+ (stem<string_typeT>::is_either (text[text.length () - 4 ],
397
+ common_lang_constants::LOWER_I, common_lang_constants::UPPER_I) ||
398
+ stem<string_typeT>::is_either (text[text.length () - 4 ],
399
+ common_lang_constants::LOWER_K, common_lang_constants::UPPER_K) ||
400
+ stem<string_typeT>::is_either (text[text.length () - 4 ],
401
+ common_lang_constants::LOWER_L, common_lang_constants::UPPER_L) ||
402
+ stem<string_typeT>::is_either (text[text.length () - 4 ],
403
+ common_lang_constants::LOWER_N, common_lang_constants::UPPER_N) ||
404
+ stem<string_typeT>::is_either (text[text.length () - 4 ],
405
+ common_lang_constants::LOWER_P, common_lang_constants::UPPER_P) ||
406
+ stem<string_typeT>::is_either (text[text.length () - 4 ],
407
+ common_lang_constants::LOWER_R, common_lang_constants::UPPER_R) ||
408
+ stem<string_typeT>::is_either (text[text.length () - 4 ],
409
+ common_lang_constants::LOWER_T, common_lang_constants::UPPER_T) ||
410
+ stem<string_typeT>::is_either (text[text.length () - 4 ],
411
+ common_lang_constants::LOWER_U, common_lang_constants::UPPER_U) ||
412
+ stem<string_typeT>::is_either (text[text.length () - 4 ],
413
+ common_lang_constants::LOWER_V, common_lang_constants::UPPER_V)) &&
405
414
stem<string_typeT>::is_suffix_in_r1 (text,
406
415
/* öst (with valid character in front of it) */
407
416
common_lang_constants::LOWER_O_UMLAUTS, common_lang_constants::UPPER_O_UMLAUTS,
0 commit comments