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

            foundNames = recognizer.CleanNames(foundNames);

            return(foundNames);
        }