Method AnalyzeSentiment
AnalyzeSentiment(String, Action<NLPResponse>)
Analyzes semantic Azure Text Analytics on provided text.
Declaration
public void AnalyzeSentiment(string text, Action<NLPResponse> onComplete)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to be analyzed |
Action<NLPResponse> | onComplete | Delegate to execute on successful request |
Implements
AnalyzeSentiment(String, String, String, Action<NLPResponse>)
Analyzes semantic Azure Text Analytics on provided text.
Declaration
public void AnalyzeSentiment(string uri, string text, string authorizationKey, Action<NLPResponse> onComplete)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | URL to send request to |
System.String | text | Text to be analyzed |
System.String | authorizationKey | Key from Azure |
Action<NLPResponse> | onComplete | Delegate to execute on successful request |
AnalyzeSentiment(String, String, String, String, Action<NLPResponse>)
Analyzes semantic Azure Text Analytics on provided text.
Declaration
public void AnalyzeSentiment(string uri, string text, string language, string authorizationKey, Action<NLPResponse> onComplete)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | URL to send request to |
System.String | text | Text to be analyzed |
System.String | language | Language of the text, defaults to "en" |
System.String | authorizationKey | Key from Azure |
Action<NLPResponse> | onComplete | Delegate to execute on successful request |
AnalyzeSentiment(String, String, String, Int32, String, Action<NLPResponse>)
Analyzes semantic Azure Text Analytics on provided text.
Declaration
public void AnalyzeSentiment(string uri, string text, string language, int id, string authorizationKey, Action<NLPResponse> onComplete)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | URL to send request to |
System.String | text | Text to be analyzed |
System.String | language | Language of the text, defaults to "en" |
System.Int32 | id | ID given to text / request, defaults to 0 |
System.String | authorizationKey | Key from Azure |
Action<NLPResponse> | onComplete | Delegate to execute on successful request |