Interface IWatsonAnalysisClient
Namespace: CrashCABN.Ingestion
Assembly: CrashCABN.Ingestion.Abstractions.dll
Syntax
public interface IWatsonAnalysisClient
Methods
View SourceGetAnalysis(Uri)
Gets the analysis result from Watson.
Declaration
Task<string> GetAnalysis(Uri analysisUri)
Parameters
Type | Name | Description |
---|---|---|
Uri | analysisUri |
Returns
Type | Description |
---|---|
Task<string> | A string containing the !analyze XML output. |
GetAnalysisStream(Uri)
Gets the analysis result from Watson.
Declaration
Task<Stream> GetAnalysisStream(Uri analysisUri)
Parameters
Type | Name | Description |
---|---|---|
Uri | analysisUri |
Returns
Type | Description |
---|---|
Task<Stream> | A stream containing the !analyze XML output. |