I'm setting up directory for different ACTs of Indian Constitution for my AI project. I have a csv file with more than 50000 records.

I want to group/categorize similar ACTs together on the basis of words used in it as well as its abbreviations.

Eg. If I search INDIAN PENAL CODE, it will show

i) I.PC

ii) Indian Penal Code

iii) InDiAn Penal CodeMotor Vechile Act

iv) Indian PENAL COde

v) I.P.C(Police)

vi) INDIAN Penal Code,1980

vii)Criminal Procedure CodeIndian Penal Code

There are many different variations of an ACT in the csv.

I tried splitting but it didn't worked properly. Please provide me a code to do so.

0 Answers