LanguageLanguage activity is used to perform AI based text analysis. It is a pre-trained machine learning model which helps you to perform activities without human intervention, such as, classify text, entity analysis, syntax analysis, sentiment analysis, language detection. Using Language Activity1. In the Canvas Tools pane, click Process Components to expand and view the associated activities. 2. Drag the Application activity and drop on to the Flowchart designer area on the canvas.
3. In the Application Type list, select CognitiveApps. 4. In the Select an Application list, select application. 5. Double-click the Application activity to add Language activity as cognitive activities works inside the application activity.
6. In the Canvas Tools pane, click Cognitive Services to expand the tool and view the associated activities. 7. Drag the Language activity and drop on to the Flowchart designer area on the canvas.
8. In the Provider list, select the provider name. By default, provider is set to Google.
Automation Studio supports two service providers for cognitive language API. 9. In the Service list, select the service which you want to use for cognitive language API.
Based on your selection of provider, service list reflects the supported APIs. If you have selected Google as your provider, following API services will reflect in the service list: · Annotate Text: It is a machine learning capability in which machine learns from previous annotated text and read new input and provide the output with annotated text. In this API, you can get all syntax, sentiment, entity, and classification features in one call. · Classify Text: This API is used to classify the text and assign it to the predefined classified categories. · Entity Analysis: This API is used to find entities, such as, common nouns, proper nouns, in the text and return information about identified entities. · Entity Sentiment Analysis: This API is used to find entities in the text, like entity analysis. Additionally, analyzes sentiments associated with the entity. · Language Detection: This API is used to detect the language of the given text. · Sentiment Analysis: This API is used to analyzes the sentiment of the text, such as, positive feedback, negative feedback. · Syntax Analysis: This API is used to detect the syntax in the text by breaking text into a series of sentences and tokens. · Translate: This API is used to translate the text into the desired language. If you have selected Microsoft as your provider, following API services will reflect in the service list: · Entity Analysis: This API is used to find entities, such as, common nouns, proper nouns, in the text and return information about identified entities. · Key Phrases: This API is used to detect the key words in the text. · Language Detection: This API is used to detect the language of the given text. · Sentiment Analysis: This API is used to analyzes the sentiment of the text, such as, positive feedback, negative feedback. · Translate: This API is used to translate the text into the desired language. 10. Click
the
a. API URL: Provide API URL based on the provider and service selected by you in the Vision activity. b. Input: This is an input for your API. You can provide file path by creating argument in the argument section and then select the created argument in the Input list. c. Output: Provide the JSON file to store the output. This is an output of your API. You can provide the JSON file for output by creating argument in the Argument pane and then select the created argument in the Output list. d. Input Language: This is an optional parameter; you can keep it blank for auto detect. You can define text in following format, such as, en-US. en depicts English and US depicts United States. As a whole API detects US English. Appears if Service selected is Entity Analysis, Key Phrases, Sentiment Analysis, Annotate Text, Classify Text, Entity Sentiment Analysis, and Syntax Analysis. e. Target Language: Specify the target language in which you want the translate the provided text. Appears if Service selected is Translate. The above mentioned parameters may vary as per your selection. 11. Click Close to confirm your changes. Language PropertiesThe properties of Language activity are listed in the following table and can be edited in the Properties grid on the right pane.
See AlsoLanguages supported: · Google Natural language API: https://cloud.google.com/natural-language/docs/languages · Google Language Detection & Translation API: https://cloud.google.com/translate/docs/languages · Microsoft Text Analytics API: https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support · Microsoft Translation API: https://docs.microsoft.com/en-in/azure/cognitive-services/translator/language-support For more information: Google: https://cloud.google.com/natural-language/docs/reference/rest/v1/documents/analyzeEntities https://cloud.google.com/natural-language/docs/reference/rest/v1/documents/analyzeEntitySentiment https://cloud.google.com/natural-language/docs/reference/rest/v1/documents/analyzeSyntax https://cloud.google.com/natural-language/docs/reference/rest/v1/documents/annotateText https://cloud.google.com/natural-language/docs/reference/rest/v1/documents/classifyText https://cloud.google.com/translate/docs/reference/detect https://cloud.google.com/translate/docs/reference/translate Microsoft: https://docs.microsoft.com/en-us/azure/cognitive-services/Translator/reference/v3-0-reference |
On This Page Hide
Related Topics |
||||||||||||||||||||||||||||||||