title: Python Untokenize a sentence
body: <p>There are so many guides on how to tokenize a sentence, but i didn't find any on how to do the opposite.</p>
  
  <pre><code> import nltk
   words = nltk.word_tokenize("I've found a medicine for my disease.")
   result I get is: ['I', "'ve", 'found', 'a', 'medicine', 'for', 'my', 'disease', '.']
  </code></pre>
  
  <p>Is there any function than reverts the tokenized sentence to the original state. The function <code>tokenize.untokenize()</code> for some reason doesn't work.</p>
  
  <p>Edit:</p>
  
  <p>I know that I can do for example this and this probably solves the problem but I am curious is there an integrated function for this:</p>
  
  <pre><code>result = ' '.join(sentence).replace(' , ',',').replace(' .','.').replace(' !','!')
  result = result.replace(' ?','?').replace(' : ',': ').replace(' \'', '\'')   
  </code></pre>