Skip to content
Advertisement

Tag: token

Create list of list tuples from reading a txt file

I have a txt file that look likes And Im trying to make a tuples from this txt which ı will evalute them laterly word to features later on. I want to have a list of list look like this : All of the whitespaces indicates that the sentences over and should add to list to given index, laterly after

Advertisement