commited all contents created by participants
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from random import choice
|
||||
from nltk.tokenize import sent_tokenize, word_tokenize
|
||||
|
||||
with open("dixit.txt") as article:
|
||||
quotes = sent_tokenize(article.read())
|
||||
|
||||
text_out = "À ce propos, Einstein a dit un jour : \"%s\"." % quote
|
||||
|
||||
print(text_out);
|
||||
Reference in New Issue
Block a user