Package: cloudmersive-nlp-api-client
cloudmersive_nlp_api_clientThe powerful Natural Language Processing APIs (v2) let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.This Python package provides a native API client forCloudmersive NLPAPI version: v1Package version: 4.0.1Build package: io.swagger.codegen.languages.PythonClientCodegenRequirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on Github, you can install directly from Githubpipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importcloudmersive_nlp_api_clientSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importcloudmersive_nlp_api_clientGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportcloudmersive_nlp_api_clientfromcloudmersive_nlp_api_client.restimportApiExceptionfrompprintimportpprint# Configure API key authorization: Apikeyconfiguration=cloudmersive_nlp_api_client.Configuration()configuration.api_key['Apikey']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['Apikey'] = 'Bearer'# create an instance of the API classapi_instance=cloudmersive_nlp_api_client.AnalyticsApi(cloudmersive_nlp_api_client.ApiClient(configuration))input=cloudmersive_nlp_api_client.HateSpeechAnalysisRequest()# HateSpeechAnalysisRequest | Input hate speech analysis requesttry:# Perform Hate Speech Analysis and Detection on Textapi_response=api_instance.analytics_hate_speech(input)pprint(api_response)exceptApiExceptionase:print("Exception when calling AnalyticsApi->analytics_hate_speech:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://api.cloudmersive.comClassMethodHTTP requestDescriptionAnalyticsApianalytics_hate_speechPOST/nlp-v2/analytics/hate-speechPerform Hate Speech Analysis and Detection on TextAnalyticsApianalytics_profanityPOST/nlp-v2/analytics/profanityPerform Profanity and Obscene Language Analysis and Detection on TextAnalyticsApianalytics_sentimentPOST/nlp-v2/analytics/sentimentPerform Sentiment Analysis and Classification on TextAnalyticsApianalytics_similarityPOST/nlp-v2/analytics/similarityPerform Semantic Similarity Comparison of Two StringsAnalyticsApianalytics_subjectivityPOST/nlp-v2/analytics/subjectivityPerform Subjectivity and Objectivity Analysis on TextExtractEntitiesApiextract_entities_postPOST/nlp-v2/extract-entitiesExtract entities from stringLanguageDetectionApilanguage_detection_get_languagePOST/nlp-v2/language/detectDetect language of textLanguageTranslationApilanguage_translation_translate_deu_to_engPOST/nlp-v2/translate/language/deu/to/engTranslate German to English text with Deep Learning AILanguageTranslationApilanguage_translation_translate_eng_to_deuPOST/nlp-v2/translate/language/eng/to/deuTranslate English to German text with Deep Learning AILanguageTranslationApilanguage_translation_translate_eng_to_fraPOST/nlp-v2/translate/language/eng/to/fraTranslate English to French text with Deep Learning AILanguageTranslationApilanguage_translation_translate_eng_to_rusPOST/nlp-v2/translate/language/eng/to/rusTranslate English to Russian text with Deep Learning AILanguageTranslationApilanguage_translation_translate_fra_to_engPOST/nlp-v2/translate/language/fra/to/engTranslate French to English text with Deep Learning AILanguageTranslationApilanguage_translation_translate_rus_to_engPOST/nlp-v2/translate/language/rus/to/engTranslate Russian to English text with Deep Learning AIParseApiparse_parse_stringPOST/nlp-v2/parse/treeParse string to syntax treePosTaggerApipos_tagger_tag_adjectivesPOST/nlp-v2/pos/tag/adjectivesPart-of-speech tag a string, filter to adjectivesPosTaggerApipos_tagger_tag_adverbsPOST/nlp-v2/pos/tag/adverbsPart-of-speech tag a string, filter to adverbsPosTaggerApipos_tagger_tag_nounsPOST/nlp-v2/pos/tag/nounsPart-of-speech tag a string, filter to nounsPosTaggerApipos_tagger_tag_pronounsPOST/nlp-v2/pos/tag/pronounsPart-of-speech tag a string, filter to pronounsPosTaggerApipos_tagger_tag_sentencePOST/nlp-v2/pos/tag/sentencePart-of-speech tag a stringPosTaggerApipos_tagger_tag_verbsPOST/nlp-v2/pos/tag/verbsPart-of-speech tag a string, filter to verbsRephraseApirephrase_english_rephrase_sentence_by_sentencePOST/nlp-v2/rephrase/rephrase/eng/by-sentenceRephrase, paraphrase English text sentence-by-sentence using Deep Learning AISegmentationApisegmentation_get_sentencesPOST/nlp-v2/segmentation/sentencesExtract sentences from stringSegmentationApisegmentation_get_wordsPOST/nlp-v2/segmentation/wordsGet words in input stringSpellcheckApispellcheck_check_sentencePOST/nlp-v2/spellcheck/check/sentenceCheck if sentence is spelled correctlySpellcheckApispellcheck_correct_jsonPOST/nlp-v2/spellcheck/check/wordFind spelling correctionsDocumentation For ModelsCheckSentenceRequestCheckSentenceResponseCheckWordRequestCheckWordResponseCorrectWordInSentenceEntityExtractEntitiesRequestExtractEntitiesResponseGetWordsRequestGetWordsResponseHateSpeechAnalysisRequestHateSpeechAnalysisResponseLanguageDetectionRequestLanguageDetectionResponseLanguageTranslationRequestLanguageTranslationResponseParseRequestParseResponsePosRequestPosResponsePosSentencePosTaggedWordProfanityAnalysisRequestProfanityAnalysisResponseRephraseRequestRephraseResponseRephrasedSentenceRephrasedSentenceOptionSentenceSegmentationRequestSentenceSegmentationResponseSentimentAnalysisRequestSentimentAnalysisResponseSimilarityAnalysisRequestSimilarityAnalysisResponseSubjectivityAnalysisRequestSubjectivityAnalysisResponseWordPositionDocumentation For AuthorizationApikeyType: API keyAPI key parameter name: ApikeyLocation: HTTP headerAuthor