コード例 #1
0
        public string GetNotary(string contents)
        {
            NotaryRecognizer recognizer = NotaryRecognizer.GetInstance();
            List <string>    foundNames = recognizer.FindItems(contents);

            return(foundNames.Count > 0 ? foundNames[0] : "");
        }
コード例 #2
0
 public static NotaryRecognizer GetInstance()
 {
     if (_single == null)
     {
         _single = new NotaryRecognizer();
     }
     return(_single);
 }