Cloud Natural Language API 支援多種語言。您可以在要求中使用選用 language 參數來指定這些語言。語言代碼參數符合 ISO-639-1 或 BCP-47 識別碼。
如果您沒有指定 language 參數,則 Natural Language API 會自動偵測要求的語言。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# Language Support\n\nThe Cloud Natural Language API supports a variety of languages.\nThese languages are specified within a request using the optional [`language`](/natural-language/docs/reference/rest/v1/documents#Document.FIELDS.language)\nparameter. Language code parameters conform to\n[ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1) or\n[BCP-47](https://tools.ietf.org/html/bcp47) identifiers.\nIf you do not specify a `language` parameter, then the language for\nthe request is auto-detected by the Natural Language API.\n\nThe list of supported languages differs depending on the feature.\n\nContent classification\n----------------------\n\n### [V2 Model](/natural-language/docs/reference/rest/v1/ClassificationModelOptions)\n\n### [V1 Model](/natural-language/docs/reference/rest/v1/ClassificationModelOptions)\n\nSyntactic analysis\n------------------\n\nEntity analysis\n---------------\n\nSentiment analysis\n------------------\n\nEntity sentiment analysis\n-------------------------\n\nText moderation\n---------------\n\n\\*language support is limited based on the type of text (eg. webpage, chat message, etc) for some attributes. In any case, we recommend thorough evaluation for your use case."]]