title: removing duplicate words from sentences in file
body: <p>how can I remove the duplicate words from sentences in file ,each sentence written in a separate line.</p>
  <p>thank you</p>
  <p>I have these sentences in file</p>
  <pre><code>hello every body hello
  word I should remove the word
  how can can i remove it ?
  </code></pre>
  <p>the expected out put should be</p>
  <pre><code>hello every body
  word I should remove the
  how can i remove it ?
  </code></pre>