I am working on a project where I have to reference a list of names from one website to another. After grabbing the name from the first website, I locate the profile of the person within the second website, using that name. However, due to formatting issues sometimes the names are a bit different which leads to errors I have to manually fix.
For example, the first website may spell someone's name as "Erik Silva", whereas the second website spells it as "Erick Silva". I would have to manually change my name as below
if name == "Erik Silva":
name = "Erick Silva"
Note that this also happens to the last names, as well - but usually not both. Does there exist some type of python package which allows me to automatically try multiple names or close name values to a name input? This would save my time manually adjusting each name.
I was only able to manually adjust the name values.