

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# Amazon Comprehend AWS SDKs的程式碼範例
<a name="service_code_examples"></a>

下列程式碼範例示範如何使用 Amazon Comprehend 搭配 AWS 軟體開發套件 (SDK)。

*Actions* 是大型程式的程式碼摘錄，必須在內容中執行。雖然動作會告訴您如何呼叫個別服務函數，但您可以在其相關情境中查看內容中的動作。

*案例*是向您展示如何呼叫服務中的多個函數或與其他 AWS 服務組合來完成特定任務的程式碼範例。

如需 AWS SDK 開發人員指南和程式碼範例的完整清單，請參閱 [搭配 SDK 使用 Amazon Comprehend AWS](sdk-general-information-section.md)。此主題也包含有關入門的資訊和舊版 SDK 的詳細資訊。

**Contents**
+ [基本概念](service_code_examples_basics.md)
  + [動作](service_code_examples_actions.md)
    + [`CreateDocumentClassifier`](example_comprehend_CreateDocumentClassifier_section.md)
    + [`DeleteDocumentClassifier`](example_comprehend_DeleteDocumentClassifier_section.md)
    + [`DescribeDocumentClassificationJob`](example_comprehend_DescribeDocumentClassificationJob_section.md)
    + [`DescribeDocumentClassifier`](example_comprehend_DescribeDocumentClassifier_section.md)
    + [`DescribeTopicsDetectionJob`](example_comprehend_DescribeTopicsDetectionJob_section.md)
    + [`DetectDominantLanguage`](example_comprehend_DetectDominantLanguage_section.md)
    + [`DetectEntities`](example_comprehend_DetectEntities_section.md)
    + [`DetectKeyPhrases`](example_comprehend_DetectKeyPhrases_section.md)
    + [`DetectPiiEntities`](example_comprehend_DetectPiiEntities_section.md)
    + [`DetectSentiment`](example_comprehend_DetectSentiment_section.md)
    + [`DetectSyntax`](example_comprehend_DetectSyntax_section.md)
    + [`ListDocumentClassificationJobs`](example_comprehend_ListDocumentClassificationJobs_section.md)
    + [`ListDocumentClassifiers`](example_comprehend_ListDocumentClassifiers_section.md)
    + [`ListTopicsDetectionJobs`](example_comprehend_ListTopicsDetectionJobs_section.md)
    + [`StartDocumentClassificationJob`](example_comprehend_StartDocumentClassificationJob_section.md)
    + [`StartTopicsDetectionJob`](example_comprehend_StartTopicsDetectionJob_section.md)
+ [案例](service_code_examples_scenarios.md)
  + [建置 Amazon Transcribe 串流應用程式](example_cross_TranscriptionStreamingApp_section.md)
  + [建置 Amazon Lex 聊天機器人](example_cross_LexChatbotLanguages_section.md)
  + [建立即時通訊軟體](example_cross_SQSMessageApp_section.md)
  + [建立應用程式以分析客戶意見回饋](example_cross_FSA_section.md)
  + [偵測文件元素](example_comprehend_Usage_DetectApis_section.md)
  + [偵測從影像擷取的文字中的實體](example_cross_TextractComprehendDetectEntities_section.md)
  + [針對範例資料執行主題建模任務](example_comprehend_Usage_TopicModeler_section.md)
  + [訓練自訂分類器並分類文件](example_comprehend_Usage_ComprehendClassifier_section.md)