Skip to content

Instantly share code, notes, and snippets.

@ugik
Last active January 11, 2017 17:18
Show Gist options
  • Save ugik/7971563bdf82e015bbc1e84477e4a256 to your computer and use it in GitHub Desktop.
Save ugik/7971563bdf82e015bbc1e84477e4a256 to your computer and use it in GitHub Desktop.
part 1
# use natural language toolkit
import nltk
from nltk.stem.lancaster import LancasterStemmer
# word stemmer
stemmer = LancasterStemmer()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment