Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

How do I get the Alchemy API Text Combined Call (TextGetCombinedData) component to analyze snippets of text that are not stored anywhere as files?

12000064X5 gravatar image
Question by scary7470  (31) | Apr 19, 2016 at 11:40 PM watsonalchemyapidialogtextanalyticstextcombinedcall

How do I get the Alchemy API Text Combined Call (TextGetCombinedData) component to analyze snippets of text that are not stored anywhere as files, but that just may be passed from another application, such as a text response entered by a customer into Watson Dialog Service? If you know, would you please provide a complete and specific example(s), including the delimiters that might/should be used at the beginning and end of the text snippet? Does the answer include the use of curl -X POST? To the extent possible, please use the following, multi-line sample text snippet in your answer: That's rediculous!!! I've never in my life had an auto insurance policy that did not include roadside assistance coverage. I can't believe your company would do this to me. I'm going to be rethinking all of the policies that I have with your company...and talking with my friends about it.

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
110000PNBC gravatar image

Answer by @chughts (12979) | Apr 20, 2016 at 03:53 AM

Are you using one of the Watson Developer Cloud SDKs? If so then you can call the combined method, passing in text. For example if you are using the node.js SDK, you can pass in

 var params = {
       text: 'IBM Watson won the Jeopardy television show hosted by Alex Trebek'
 };   
Comment

People who like this

  0   Show 2   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
12000064X5 gravatar image scary7470 (31)   Apr 20, 2016 at 10:17 AM 0
Share

I had not been using an SDK like node.js SDK. I had just been trying to call the Combined Call method using a URL. Could you post or send me an example of the complete, larger block of code (not just the var params statement as in your example above) that would need to be added to the basic node.js SDK code that would be generated if I created a BlueMix app that just included the node.js SDK?
Thanks in advance, Steven Cary/Colorado Springs/IBM

110000PNBC gravatar image @chughts (12979) ♦ scary7470 (31)   Apr 21, 2016 at 05:01 AM 0
Share

Documentation for TextGetCombinedData can be found here - http://www.alchemyapi.com/api/combined/textc.html

Examples of usage of the SDK, can be found in the home of the SDK. Please note the examples, are not complete documentation, just examples of how to use the SDK for each service.

https://github.com/watson-developer-cloud/node-sdk/blob/master/examples/alchemy_language.v1.js

Follow this question

65 people are following this question.

Answers

Answers & comments

Related questions

How do I get the Alchemy API Text Combined Call (TextGetCombinedData) component to analyze text files on my laptop hard drive? 2 Answers

How to name my Dialog if uploading a Dialog.xml file via curl? 2 Answers

No results for a company search using AlchemyData News API. 2 Answers

URLGetRankedNamedEntities - how to get the position in text of the extracted Named Entities? 0 Answers

alchemy_language error on local urls 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges