Например, вот мой документ:
docs = '''
The goal of /r/Games is to provide a place for informative and interesting
gaming content and discussions. Submissions should be for the purpose of
informing or initiating a discussion, not just with the goal of entertaining
viewers.
IRC channel: #Games on irc.snoonet.org
For an in-depth explanation of our rules don't forget to check our rules
wiki page and FAQ!
I've been spending quite a while reading reviews of various players on the
game. And, it seems (for the most part) it's being received fairly
positively with gamers. I'm interested to hear how Reddit is enjoy the game
thus far. Feel free to be as brief, or as thorough as you want.
Thanks in advance for all replies. '''
И я хочу разделить документы на такой список:
sentence = [[The goal of /r/Games is to provide a place for informative and
interesting gaming content and discussions. Submissions should be for the
purpose of informing or initiating a discussion, not just with the goal of
entertaining viewers. IRC channel: #Games on irc.snoonet.org For an in-depth
explanation of our rules don't forget to check our rules wiki page and
FAQ!]],
[I've been spending quite a while reading reviews of various players on the
game. And, it seems (for the most part) it's being received fairly
positively with gamers. I'm interested to hear how Reddit is enjoy the game
thus far. Feel free to be as brief, or as thorough as you want.], [Thanks in
advance for all replies.]]
И я использую docs.split(' ')
Я могу только получитьсловарь, который похож на отдельные слова
Как мне получить sentence
?