示例#1
0
 public void AddEntity(string entityName, string value)
 {
     _recognitionModel.AddEntity(EntityName.Value(entityName), EntityForm.Value(value));
 }
示例#2
0
 public void AddEntity(string entityName, string value, string[] synonyms)
 {
     _recognitionModel.AddEntity(EntityName.Value(entityName), EntityForm.Value(value), synonyms.Select(EntityForm.Value).ToArray());
 }