Step 5b strips suffix -l if preceded by l and multiple vowel-consonant pairs, bell => bell, rebell => rebel.
(w)
| 240 | return w |
| 241 | |
| 242 | def step_5b(w): |
| 243 | """ Step 5b strips suffix -l if preceded by l and multiple vowel-consonant pairs, |
| 244 | bell => bell, rebell => rebel. |
| 245 | """ |
| 246 | if w.endswith("ll") and R2(w).endswith("l"): |
| 247 | return w[:-1] |
| 248 | return w |
| 249 | |
| 250 | #--- EXCEPTIONS ------------------------------------------------------------------------------------ |
| 251 |
nothing calls this directly
no test coverage detected
searching dependent graphs…