Re: is my interpreation correct

2018-06-30 Thread Terry Reedy
On 6/30/2018 8:57 AM, Sharan Basappa wrote: A code I am using as reference has the following line: from nltk.stem.lancaster import LancasterStemmer The CapitalName indicates a class. I am inferring the following based on above: 1) nltk is a package 2) nltk itself may have module because I see

is my interpreation correct

2018-06-30 Thread Sharan Basappa
A code I am using as reference has the following line: from nltk.stem.lancaster import LancasterStemmer I am inferring the following based on above: 1) nltk is a package 2) nltk itself may have module because I see - nltk.word_tokenize(pattern['sentence']) in the code 3) nltk has a package named