| java.lang.Object org.mandarax.examples.crm.scripts.Script2GenerateKB
Script2GenerateKB | public class Script2GenerateKB (Code) | | Executable utility class to generate the knowledge base and save it.
This is usually done using a GUI application such as Oryx !
This class showas how to create a kb manually and how to save it using ZKB.
For storage we use a folder. If a file (not a folder) is passed to ZKB, the kb
would be saved as a zip archive.
author: Jens Dietrich version: 3.4 <7 March 05> since: 3.4 |
Script2GenerateKB | public Script2GenerateKB()(Code) | | Constructor.
|
buildKB | public static KnowledgeBase buildKB()(Code) | | Get the sample knowledge base. The knowledge base is hardcoded here,
but should actually come from a data source.
a knowledge base |
main | public static void main(String[] args) throws Exception(Code) | | Run the script.
Parameters: arg - runtime parameters |
|
|