You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from nltk.stem.lancaster import LancasterStemmer st = LancasterStemmer() st.stem('cement') # ditto
For above, given output is 'cem', but the comment # ditto signifies that output should be word 'cement' without any change.
I will request to correct the above mentioned problem, as it is showing incorrect comment as compared to given output.
The text was updated successfully, but these errors were encountered:
I do not believe this is an issue with documentation, as the documentation matches the output of ran code. It appears to be an issue with the lancasterStemmer, if there is one.
In
nltk.stem.lancaster.LancasterStemmer
class, there is an incorrect documentation in given example:from nltk.stem.lancaster import LancasterStemmer
st = LancasterStemmer()
st.stem('cement') # ditto
For above, given output is 'cem', but the comment # ditto signifies that output should be word 'cement' without any change.
I will request to correct the above mentioned problem, as it is showing incorrect comment as compared to given output.
The text was updated successfully, but these errors were encountered: