Error stemming in Dutch and Spanish #18
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the bug
When using the
PorterStemmerNl
andPorterStemmerEs
, natural module can't resolve the following methods:postlude()
andisVowel()
.PorterStemmerNl:
PorterStemmerEs:
To Reproduce
Steps to reproduce the behavior:
PorterStemmerNl:
PorterStemmerEs:
Desktop (please complete the following information):
Possible solution
I was testing some solutions for this issue, and I've found that the error is caused when the
stemArray
method passes the reference of thestem
method to theinput.map()
Fixing typos, and extending the map to force the execution of
stem
method, the stem method works as expected.I've published a repo with the possible solution and the stemmer tests.
The text was updated successfully, but these errors were encountered: