public static CompanyRecognizer GetInstance() { if (_single == null) { _single = new CompanyRecognizer(); } return(_single); }
public List <string> GetCompanyNames(string contents) { CompanyRecognizer recognizer = CompanyRecognizer.GetInstance(); List <string> foundNames = recognizer.FindItems(contents); foundNames = recognizer.CleanNames(foundNames); return(foundNames); }