title: Using Jaccard Coefficient for measuring string similarity
body: <p>I got a test and a training dataset which should be used for string similarity measurement. Here I have given few lines of the dataset,</p>
  
  <pre><code>Brandon Bass ||| what the hell is Brandon bass thinking ||| Brandon Bass Has 5 Personal Fouls ||| False
  Sac ||| Congrats to Sac Kings fans ||| why yall forcing the kings to stay in sac town smh ||| False
  Stella ||| hello Stella can you follow me please ||| STELLA DO U HATE ME ||| False
  
  
  The data file has 50 entries of the form 
  TOPIC ||| TWEET_SENT_1 ||| TWEET_SENT_2 ||| HAVE_SIMILAR_MEANING
  </code></pre>
  
  <p>TOPIC – Twitter topic</p>
  
  <pre><code>TWEET_SENT_1 – Tweet sentence 1
  TWEET_SENT_2 – Tweet sentence 2
  HAVE_SIMILAR_MEANING – a binary label (True – two sentences are similar, false – two sentences are not similar) assigned by a human annotator
  </code></pre>
  
  <p>We need to divide the data set into two: training set (35 samples) and test set (15 samples) and have to use the training set for parameter tuning of the algorithms. And test with the test set using the best tuned parameter.</p>
  
  <p>If the algorithm is Jaccard Coefficient </p>
  
  <p>how can I perform this task? Can someone please let me know the approach that I can use.</p>