DominantLanguage
import type { DominantLanguage } from "https://aws-api.deno.dev/v0.3/services/comprehend.ts?docs=full";
Returns the code for the dominant language in the input text and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
interface DominantLanguage {
LanguageCode?: string | null;
Score?: number | null;
}§Properties
§
LanguageCode?: string | null
[src]The RFC 5646 language code for the dominant language. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.