There are so many guides on how to tokenize a sentence, but i didn\'t find any on how to do the opposite.
import nltk words = nltk.word_tokenize(\"I\'ve found
Use the join function:
You could just do a ' '.join(words) to get back the original string.
' '.join(words)