I would like to find a library (Ruby gem) to determine when a string contains common suffixes used in company names (e.g. Inc, LLC, LLP, GmbH, PC, etc.). My goal is to identify when we have a company name compared to a human name; in particular, we do not want to consider the name of the company "Company, Inc" as well as the name of the person "Last, First", for example. we do not want to change the company name to "Inc Company".
I found a Wikipedia page that appears to document various types of companies, but I have not found any gems or just a simple list.
The first choice is to find the gem, the second is a set of regular expression strings and the last list of suffixes.
source share