title: How to write a scala program to find semantic matching between the attributes in two tables
body: <p>I'm working on pre-processing techniques, in which I am concentrating on semantic matching between attributes of two tables. How to write a scala program to do such semantic matching? </p>
  
  <p>Consider I am having two tables A and B</p>
  
  <p>A has attributes (<code>employee_id</code>, <code>DOB</code>, <code>salary</code>)</p>
  
  <p>B has attributes  (<code>emp_id</code>, <code>data_of_birth</code>, <code>sal</code>)</p>
  
  <p>I need to find most matching attributes in two tables, so that my output table will not have duplicate columns <em>(example: emp_id and employee_id should be found similar and considered as single cloumn).</em></p>