Package ai.expert.nlapi.v2.cloud
Class Analyzer
- java.lang.Object
-
- ai.expert.nlapi.v2.cloud.Analyzer
-
public class Analyzer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Analyzer(AnalyzerConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnalyzeResponseanalyze(java.lang.String text)AnalyzeResponseanalyze(java.lang.String text, java.lang.String analysisType)AnalyzeResponsedisambiguation(java.lang.String text)AnalyzeResponseentities(java.lang.String text)java.lang.StringgetResponseDocumentString(java.lang.String text, java.lang.String analysisType)AnalyzeResponserelations(java.lang.String text)AnalyzeResponserelevants(java.lang.String text)AnalyzeResponsesentiment(java.lang.String text)
-
-
-
Constructor Detail
-
Analyzer
public Analyzer(AnalyzerConfig config)
-
-
Method Detail
-
analyze
public AnalyzeResponse analyze(java.lang.String text, java.lang.String analysisType) throws NLApiException
- Throws:
NLApiException
-
analyze
public AnalyzeResponse analyze(java.lang.String text) throws NLApiException
- Throws:
NLApiException
-
disambiguation
public AnalyzeResponse disambiguation(java.lang.String text) throws NLApiException
- Throws:
NLApiException
-
relevants
public AnalyzeResponse relevants(java.lang.String text) throws NLApiException
- Throws:
NLApiException
-
entities
public AnalyzeResponse entities(java.lang.String text) throws NLApiException
- Throws:
NLApiException
-
relations
public AnalyzeResponse relations(java.lang.String text) throws NLApiException
- Throws:
NLApiException
-
sentiment
public AnalyzeResponse sentiment(java.lang.String text) throws NLApiException
- Throws:
NLApiException
-
getResponseDocumentString
public java.lang.String getResponseDocumentString(java.lang.String text, java.lang.String analysisType) throws NLApiException- Throws:
NLApiException
-
-