Professional Documents
Culture Documents
through text analysis (Watson, n.d.). This set of APIs provides the ability to put structure onto
unstructured text. In particular, at the time of writing, it provides a number of different potential
• Sentiment analysis (documents are given a score and a rating of positive or negative);
• Emotion analysis (documents are categorized for the amounts of different emotions);
• Concept tagging (different concepts are tagged and rated for relevance);
• Text extraction.
person go through and track who is the author of a document, what might be some keywords or
how the particular knowledge contribution should be catalogued by some taxonomy, the Watson
“emotion analysis” (as discussed above) service analyzes text in order to detect anger, disgust,
fear, joy and sadness in a sample of text that can be used as above or for other purposes.
Authentication
The Tone Analyzer API is accessed by entering the password and username specified in
the service login details for the service instance that you want to utilize. Basic authentication is
used by the API. After you've created a Tone Analyzer instance, go to its dashboard page and
click Service Credentials from the left-hand navigation to see the instance's password and
username.
I. Components
iOS 8.0+
Xcode 9.0+
Procedure
You can develop this project as a starting kit on IBM Cloud, which automatically
provisioned essential services and injected service credentials into a bespoke fork of this pattern,
Prerequisites
Create an instance of the Tone Analyzer service and note down the login details:
Click Create
Copy the apikey value or the password and username values if your service
In the application folder, copy the .env.example file and create a file called .env
cp .env.example .env
Open the .env file and add the service credentials that you obtained in the previous step.
If your service instance uses username and password credentials, add the
.env file.