trinker / qdap

Quantitative Discourse Analysis Package: Bridging the gap between qualitative data and quantitative analysis
http://cran.us.r-project.org/web/packages/qdap/index.html
175 stars 44 forks source link

stemmer #168

Closed rbaior closed 10 years ago

rbaior commented 10 years ago

Thanks for writing this great tool. I have just started using it. I ran a quick command on stemmer: stem_words(hungry, nasty, hasty). This is what R returned.

[1] "hungri" "nasti" "hasti"

I think the stemmer thinks the stem of these adjectives that end with "y" should be "i". I think this may not be correct. Am I missing anything here?

Thanks,

trinker commented 10 years ago

qdap's stemmer is a wrapper for the tm package's stemDocument function (I have added this info to the dev. version of qdap to be more explicit so users will know where to go to get this information). This is based on Porter's stemming algorithm. You may have another stemming approach that you prefer that may give different results. Stemming results rely on the algorithm used.

I'm closing this issue, if you feel this is in error feel free to re-open the issue.