title: How to slice a sentence like this in Python?
body: <p>Assuming that I have a sentence like "The food is not delicious.".</p>
  
  <p>If I use traditional method to slice this sentence into words, the result may be as follows:</p>
  
  <pre><code>    "The/food/is/not/delicious/"
  </code></pre>
  
  <p>but I want to slice the sentence as following:</p>
  
  <pre><code>    "The/food/is/not delicious/"
  </code></pre>
  
  <p>The question is how to realize it in Python? Thanks a lot!
  <br/><br>
  <br/>
  I am so sorry for decribing the quesition too breif before, in the sentence "The food is not delicious", <strong>"not delicious"</strong> is a attibute of the <strong>"food"</strong>, so when I slice this sentence I want to let the word group "not delicious" go to a single slot. Similarly, assuming I have another sentence like this:</p>
  
  <pre><code>    "Mr.Lee is a nice person."
  </code></pre>
  
  <p>Now, <strong>"nice"</strong> is a attribute of <strong>person</strong>, so the slicing result is:</p>
  
  <pre><code>    "Mr.Lee/is/a/nice/person"
  </code></pre>
  
  <p>But if I change the sentence to:</p>
  
  <pre><code>    "Mr.Lee is not a nice person."
  </code></pre>
  
  <p>I wonder if it's possible to slice the sentence as:</p>
  
  <pre><code>    "Mr.Lee/is/a/not nice/person"
  </code></pre>
  
  <p>I think the most difficult problem is to find out which word is decorated by a negative word.
  <br/>
  <br/>
  <em>Maybe this question is stupid enough, but thanks a lot anyway!</em></p>