elizagrames / litsearchr

litsearchr is an R package to partially automate search term selection for systematic reviews using keyword co-occurrence networks. In addition to identifying search terms, it can write Boolean searches and translate them into over 50 languages.
https://elizagrames.github.io/litsearchr
104 stars 24 forks source link

Fix issues with Porter stemming algorithm #5

Open elizagrames opened 5 years ago

elizagrames commented 5 years ago

Modify the stemming functions to fix known issues with Porter's stemming algorithm (e.g. density -> densiti instead of densit)

mitchhenderson commented 3 years ago

My issue (@elizagrames, I sent you an email yesterday before finding this open issue) is likely related to this.

When I print my final search string, it has changed what I would expect to be "y" letters for "i" letters at the end of words that end in "y". For example, my search terms include words like “rugby” and “body temperature”, but the output is giving me terms such as “rugbi” and “bodi temperatur*”.