public class NaturalLanguageInputModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected BPMNModel |
model |
protected java.util.List<java.lang.String> |
participants |
Constructor and Description |
---|
NaturalLanguageInputModel(BPMNModel bpmnModel) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
addPool(Sentence sentence) |
protected java.lang.String |
addTask(Sentence sentence) |
protected Pool |
detectPool(java.lang.String label) |
protected java.lang.String |
processAdd(Sentence sentence) |
void |
processModelChange()
Parses the attached ProcessModel for changes.
|
java.lang.String |
processNaturalInput(java.lang.String input)
Applies a natural input to the ProcessModel.
|
protected BPMNModel model
protected java.util.List<java.lang.String> participants
public NaturalLanguageInputModel(BPMNModel bpmnModel)
public void processModelChange()
public java.lang.String processNaturalInput(java.lang.String input)
input
- protected java.lang.String processAdd(Sentence sentence)
protected java.lang.String addTask(Sentence sentence)
protected java.lang.String addPool(Sentence sentence)
protected Pool detectPool(java.lang.String label)