public void AddEntity(string entityName, string value) { _recognitionModel.AddEntity(EntityName.Value(entityName), EntityForm.Value(value)); }
public void AddEntity(string entityName, string value, string[] synonyms) { _recognitionModel.AddEntity(EntityName.Value(entityName), EntityForm.Value(value), synonyms.Select(EntityForm.Value).ToArray()); }