TextModerationExtensions.DetectLanguage Method
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.
This operation will detect the language of given input content. Returns the <a href="http://www-01.sil.org/iso639-3/codes.asp">ISO 639-3 code</a> for the predominant language comprising the submitted text. Over 110 languages supported.
public static Microsoft.Azure.CognitiveServices.ContentModerator.Models.DetectedLanguage DetectLanguage (this Microsoft.Azure.CognitiveServices.ContentModerator.ITextModeration operations, string textContentType, System.IO.Stream textContent);
static member DetectLanguage : Microsoft.Azure.CognitiveServices.ContentModerator.ITextModeration * string * System.IO.Stream -> Microsoft.Azure.CognitiveServices.ContentModerator.Models.DetectedLanguage
<Extension()>
Public Function DetectLanguage (operations As ITextModeration, textContentType As String, textContent As Stream) As DetectedLanguage
Parameters
- operations
- ITextModeration
The operations group for this extension method.
- textContentType
- String
The content type. Possible values include: 'text/plain', 'text/html', 'text/xml', 'text/markdown'
- textContent
- Stream
Content to screen.
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET