...
The pipeline can be specified in a JSON format which can be stored in a resource (see Resources). A sample is shown below:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "reader": { "type": "SimpleReader", "splitRegex": "\r\n" }, "stages": [ { "type": "WhitespaceTokenizer" }, { "type": "CharacterSplitter" }, { "type": "com.accenture.saga.engine.stages.CaseAnalysisStage" }, { "type": "DictionaryTagger", "dictionary": "resources-provider:dictionary", "required":["TOKEN", "ALL_LOWER_CASE"] } ] } |
...