Ejemplo n.º 1
0
 public static NameRecognizer GetInstance()
 {
     if (_single == null)
     {
         _single = new NameRecognizer();
     }
     return(_single);
 }
Ejemplo n.º 2
0
        public List <string> GetNames(string contents)
        {
            string         notaryName = GetNotary(contents);
            NameRecognizer recognizer = NameRecognizer.GetInstance();
            List <string>  foundNames = recognizer.FindItems(contents);

            foundNames.Remove(notaryName);

            return(foundNames);
        }