-
Notifications
You must be signed in to change notification settings - Fork 0
SRS))IBM Watson API with blue mix
There is not a specific dependency for environment setting.
Except for the developing language.
Won't share ID and password since this GitHub repository is a public one.
Curl, Node, Java, Python.
We will use python for the project.
Package Install
pip install --upgrade watson-developer-cloud
Example
from watson_developer_cloud import NaturalLanguageUnderstandingV1
natural_language_understanding = NaturalLanguageUnderstandingV1(
version='{version}',
iam_apikey='{iam_api_key}'
)
Check reference for the detail usage.
HTTP POST/analyze ~> via HTTP request(REST API)
requirement: IBM api token
Retrieve news content data of url address from database or HDFS.
Lite(Free)
We will consider only free version, so I will collect 5 tokens of each member.
– Analyze up to 30,000 NLU items per month
– Use with any of the features
– One free custom model
1 NLU item = 1 group of 10,000 characters x 1 feature
An NLU item is based on the number of data units enriched and the number of enrichment features applied. A data unit is 10,000 characters or less. For example: extracting Entities and Sentiment from 15,000 characters of text is (2 Data Units * 2 Enrichment Features) = 4 NLU Items.
IBM NLP API docs: https://www.ibm.com/watson/developercloud/natural-language-understanding/api/v1/#introduction
IBM News Discovery API: https://console.bluemix.net/docs/services/discovery/watson-discovery-news.html#watson-discovery-news
IBM News Discovery API demo: https://discovery-news-demo.ng.bluemix.net