Fix bug in GargPorter stemming algorithm which was preventing `soy` & al. to be searched correctly
Fixes #415 (closed).
@anoe The issue was different from what I thought initially -- it turns out we had a bug in our custom implementation of the Porter algorithm (why we are using a custom version is a different topic, when I joined the project things were already this way) and that was causing the search term to become "soi" rather than "soy", thus the bug.
ps. the diff of this MR is bigger than expected as for some reason GargPorter.hs
was in DOS format, and this MR converts it back to a UNIX file. The bug was in the step1c
function.
I have added tests to make sure this won't regress.