Entries from 2013-04-25 to 1 day

Babelfish Translation from NLTK

As mentioned in the past, Babelfish Translatoin service seems no longer available. >>> from nltk.misc import babelfish >>> babelfish.translate('cookbook', 'english', 'spanish') Traceback (most recent call last): File "<stdin>", line 1, …

Stemming and lemmatization

Stemming is technique for removing affixes from a word, ending up with the stem. I don't know the meaning of the words, "affixes" and "stem" but there is an example in the textbook. The stem of "cooking" is "cook" and "ing" is the suffix.P…