Skip to content

Commit

Permalink
Fixed documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
matgrioni committed Nov 14, 2017
1 parent d565d0d commit 3c7086e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/stemmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ def __init__(self):
self.internal = nltk.stem.LancasterStemmer()

def stem(self, word):
"""
Given a word, what is its stem.
"""
Given a word, what is its stem.
Args:
word: The word to stem.
Args:
word: The word to stem.
Returns:
The stem of the given word.
"""
Returns:
The stem of the given word.
"""
return self.internal.stem(word)

0 comments on commit 3c7086e

Please sign in to comment.