Answers.Body: <p>Getting the intent of the sentence is not an easy task. To get you started on what to do, have a look on word vectors. You can also download pre-trained <a href="https://stackoverflow.com/a/59591075/8568784">word2vec</a> models. They help in getting similarity of words and reasoning with words. To get the intent of a sentence, you can use LSTM.</p>
  
  <p>Fun fact most NLP algorithms strip away punctuation with is sufficient for most cases, but to give a counter example.</p>
  
  <pre><code>The defendant, who looked apologetic, was found guilty.
  The defendant who looked apologetic was found guilty.
  </code></pre>
  
  <p>They mean different things and are difficult to catch the intent even with the best algorithms.</p>
  
  <p>PS: For those wondering the difference, in the second sentence it seems like there were two defendants, and it was the one who looked apologetic who was found guilty while the other walked away free.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-04T18:51:51.570Z
Answers.LastActivityDate: 2020-01-04T18:51:51.570Z
Answers.UserDisplayName: codeblooded
Body: <p>How can a system recognize if two strings have the same or similar meaning?</p>
  
  <p>For example, consider the following two strings</p>
  
  <ol>
  <li><p>Wikipedia provides good information.</p></li>
  <li><p>Wikipedia is a good source of information.</p></li>
  </ol>
  
  <p>What methods are available to do this?</p>
  
Tags: <neural-networks><deep-learning><text-classification>
Title: How can a system recognize if two strings have the same or similar meaning?
UserDisplayName: John Hank
ThreadText: # How can a system recognize if two strings have the same or similar meaning?
  
  (Asked by: username_0 on 2020-01-04)
  
  How can a system recognize if two strings have the same or similar meaning?
  
  For example, consider the following two strings
  
  1. Wikipedia provides good information.
  2. Wikipedia is a good source of information.
  
  What methods are available to do this?
  
  **Tags:** neural-networks, deep-learning, text-classification
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-01-04. Score: 1
  
  Getting the intent of the sentence is not an easy task. To get you started on what to do, have a look on word vectors. You can also download pre-trained word2vec models. They help in getting similarity of words and reasoning with words. To get the intent of a sentence, you can use LSTM.
  Fun fact most NLP algorithms strip away punctuation with is sufficient for most cases, but to give a counter example.
  The defendant, who looked apologetic, was found guilty.
  The defendant who looked apologetic was found guilty.
  
  They mean different things and are difficult to catch the intent even with the best algorithms.
  PS: For those wondering the difference, in the second sentence it seems like there were two defendants, and it was the one who looked apologetic who was found guilty while the other walked away free.
  
  
  ---
  
  