def step_1c(w):
    if len(w) > 2 and w.endswith(("y","Y")) and is_consonant(w[-2]):
        return w[:-1] + "i"
    return w
Step 1c replaces suffix -y or -Y by -i if preceded by a non-vowel 
dataset/ETHPy150Open clips/pattern/pattern/vector/stemmer.py/step_1c