@Beta public class Nlp extends Object
Constructor and Description |
---|
Nlp() |
Modifier and Type | Method and Description |
---|---|
String |
getAct()
The act of the request, more info on the recast website
|
Map<String,List<Map<String,?>>> |
getEntities()
Entities have different fields depending on the type.
|
List<Intent> |
getIntents()
The list contains all identified intents
|
String |
getLanguage()
The language detected (or given) from the processed sentence, follows the ISO 639-1 standard
|
String |
getProcessingLanguage()
The language used to process the sentence, follows the ISO 639-1 standard
|
String |
getSentiment()
This function returns the Sentiment as identified by recast.
|
String |
getSource()
This function returns the input sentence.
|
Integer |
getStatus()
The status of Recasts Natural Language processor
|
String |
getTimestamp()
The UTC timestamp at the end of Recasts processing, follows the ISO 8061 standard
|
Object |
getType()
The type of the request, more info on the recast website
|
String |
getUuid()
Each input gets an UUID which can be obtained via this function.
|
String |
getVersion()
The version of Recasts JSON, follows the Semantic Versioning Specification
|
@Nullable public String getUuid()
@Nullable public String getSource()
@Nullable public List<Intent> getIntents()
@Nullable public String getAct()
@Nullable public Object getType()
@Nullable public String getSentiment()
@Nullable public Map<String,List<Map<String,?>>> getEntities()
@Nullable public String getLanguage()
@Nullable public String getProcessingLanguage()
@Nullable public String getVersion()
@Nullable public String getTimestamp()
Copyright © 2020 SAP SE. All rights reserved.