I have a site which is in the stock market domain. The site has a lot of user generated content in terms of forum posts, comments etc.
Also, I have a database table that consists of names of all companies (around 5000) listed in the stock market.
Now, what I want is that if the user has mentioned a company name in comment or forum post, my program will automatically hyperlink it to give the stock price details for it.
Now, the problem is that the user may not use the exact company name as it is available to me in my database. For example, user might write "FB" instead of Facebook or company name without "inc" or "pvt. ltd" in it.
How do I solve this problem? I think since the company database is limited, a machine learning approach would be an overkill. What are your suggestions.