Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Nesta página, estão listados os aplicativos de amostra da API Cloud Natural Language. Outras amostras serão adicionadas a esta página quando elas forem criadas.
Para usar uma amostra, ver os requisitos de instalação e as explicações detalhadas do código, consulte o Tutorial de análise de sentimentos.
Exemplos de linguagem
Python
Com estes aplicativos em Python, você aprende a fazer várias chamadas à Cloud Natural Language API.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-11 UTC."],[],[],null,["# Sample Applications\n\nThis page lists Cloud Natural Language API sample applications. We will\nbe adding more samples to this page as they are created.\n\nTo walk through a sample, see installation requirements, and get detailed\nexplanations of the code, see the\n[Sentiment Analysis Tutorial](/natural-language/docs/sentiment-tutorial).\n\nLanguage examples\n-----------------\n\n### Python\n\nThese Python applications show you how to make different Cloud Natural Language API calls.\n\n[Documentation and Python Code](https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-language)\n\n### Java\n\nThis Java application shows you how to make a Cloud Natural Language API call to analyze\nsentiment, entities or syntax.\n\n[Documentation and Java Code](https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/language/)\n\n### Node.js\n\nThis Node.js application shows you how to make a Cloud Natural Language API call to analyze\nsentiment, entities or syntax.\n\n[Documentation and Node.js Code](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-language)\n\n### Go\n\nThis Go application shows you how to make a Cloud Natural Language API call to analyze\nsentiment, entities or syntax.\n\n[Documentation and Go Code](https://github.com/GoogleCloudPlatform/golang-samples/tree/master/language)\n\nOther languages\n---------------\n\nFor more information about using other languages, see the following\nreferences:\n\n- [C# reference documentation](/dotnet/docs/reference/Google.Cloud.Language.V1/latest)\n- [PHP reference documentation](/php/docs/reference/cloud-language/latest)\n- [Ruby reference documentation](/ruby/docs/reference/google-cloud-language/latest)"]]