public interface NCCustomElement
NCCustomParser.parse(NCRequest, NCModelView, List, List)
method must be
defined in the model.NCModelView.getParsers()
Modifier and Type | Method and Description |
---|---|
String |
getElementId()
Gets ID of the detected model element.
|
Map<String,Object> |
getMetadata()
Optional metadata that will be added to the resulting
NCToken object and that would be
accessible via NCToken.getMetadata() . |
List<NCCustomWord> |
getWords()
Gets a list of NLP custom words that matched detected model element.
|
String getElementId()
NCElement.getId()
,
NCModelView.getElements()
List<NCCustomWord> getWords()
NCCustomParser.parse(NCRequest, NCModelView, List, List)
method.Map<String,Object> getMetadata()
NCToken
object and that would be
accessible via NCToken.getMetadata()
.Copyright © 2020 NLPCraft. All rights reserved.