DetectLanguageInput Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An input to the detect language operation. This object allows the caller to specify a unique document id, as well as the full text of a document and a hint indicating the document's country of origin to assist the predictive model in detecting the document's language.
public class DetectLanguageInput : Azure.AI.TextAnalytics.TextAnalyticsInput
type DetectLanguageInput = class
inherit TextAnalyticsInput
Public Class DetectLanguageInput
Inherits TextAnalyticsInput
- Inheritance
Constructors
DetectLanguageInput(String, String) |
Initializes a new instance of the DetectLanguageInput class. |
Fields
None |
A wild card that allows to set CountryHint to None so the service model doesn't use any default CountryHint. |
Properties
CountryHint |
Gets or sets a hint to assist the model in predicting the language the document is written in. If unspecified, this value will be set to the default country hint in TextAnalyticsClientOptions in the request sent to the service. To remove this behavior, set to None. |
Id |
Gets the unique, non-empty identifier for the document. (Inherited from TextAnalyticsInput) |
Text |
Gets the text of the document. (Inherited from TextAnalyticsInput) |
Applies to
Azure SDK for .NET