ApiBrain().AddConcepts
Invokes the core SILVIA algorithms to register the Concepts in a string.
Description
This method invokes AI run-time to add the Concepts contained in the given string. Any Concepts that are already registered will be ignored. This function is useful for pre-loading Concepts that may be used dynamically within a variable or other dynamic construct, but are not yet part of SILVIA’s current dictionary.
Example Usage (Java)
boolean success = _core.ApiBrain().AddConcepts(“how are you today”, false, false);
Example Usage (C#)
bool success = _core.ApiBrain().AddConcepts(“how are you today”, false, false);
Parameters
string |
input |
The string representing the Concept(s) to be processed. |
bool |
punctuate |
The boolean flag to determine if punctuation is considered. |
bool |
conceptualize |
The boolean flag to determine if existing concatenated Concepts are considered. |
Returns
The boolean success or failure of the operation.
See Also
- ApiBrain().GetResponse