skip to Main Content

tokenize sentence into words python – Nginx

I want to extract information from different sentences so i'm using nltk to divide each sentence to words, I'm using this code: words=[] for i in range(len(sentences)): words.append(nltk.word_tokenize(sentences[i])) words it works pretty good but i want something little bit different…

VIEW QUESTION
Back To Top
Search