nltk - Methods in python -
so going though nltk , saw code
entities = nltk.chunk.ne_chunk(tagged)
now question how people know method use when , order of method calls?
another strange code saw
nltk.corpus.words.words('en')
now how 1 interpret .words
followed .words?
why did call words method twice here & how know when need call method twice?
i finished "udacity - intro. cs (with python)" "nltk" getting way confusing. please help, have been struggling logic of these since couple of days.
you not calling words
twice. calling words
method of words
module. it's namespaces , modules. read more python modules.
:)
Comments
Post a Comment