public Task <ResponseWrapper <SentimentEntityResponse[]> > EntitySentimentAsync(AnalysisCell cell) { var input = new SentimentRequest { text = cell.Text, level = "entity" }; return(PostRequest <SentimentEntityResponse[], SentimentRequest>(input, "/v1/sentiment", cell)); }
public Task <ResponseWrapper <SentimentResponse> > DocumentSentimentAsync(AnalysisCell cell) { var input = new SentimentRequest { text = cell.Text }; return(PostRequest <SentimentResponse, SentimentRequest>(input, "/v1/sentiment", cell)); }