• 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

NLP Parse Tree

270002JSXB gravatar image
Question by Slava Vasilyev  (28) | Apr 03, 2014 at 09:58 AM watsonnlp

[sorry for my English]

Is it possible to get NLP parse tree as a part of the evidenceList in the answer or by optional request?

Say, for the evidence phrase:

"Watson can read and understand natural language, important in analyzing unstructured data that make up as much as 80 percent of data today."

The parse tree is (produced by nlp.stanford.edu:8080/corenlp/process):

(ROOT (S (NP (NNP Watson)) (VP (MD can) (VP (VB read) (CC and) (VB understand) (NP (NP (JJ natural) (NN language)) (, ,) (ADJP (JJ important) (PP (IN in) (S (VP (VBG analyzing) (NP (NP (JJ unstructured) (NNS data)) (SBAR (WHNP (WDT that)) (S (VP (VBP make) (PRT (RP up)) (ADVP (RB as) (RB much)) (PP (IN as) (NP (NP (CD 80) (NN percent)) (PP (IN of) (NP (NNS data))))) (NP-TMP (NN today))))))))))))) (. .)))

As I understand, Watson produces kind of that tree too as result of the internal workflow. We need it for the further processing on our side. In other words we would like to have some parts of our corpus in the structured version too (as the parse tree).

Thanks, Slava V.

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

2 answers

  • Sort: 
110000N203 gravatar image
Accepted answer

Answer by SridharS (351) | Apr 03, 2014 at 03:01 PM

Hi Slava, Will is right - currently you don't get the tree or the NLP as a separate service offering. You work with the JSON response as part of the QA API, that produces metadata other than the answer, evidence and confidence levels.
What specifically are you trying to do downstream with the tree?

Comment
Will Sennett
PaulDeepakRaj

People who like this

  2   Show 1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270002JSXB gravatar image Slava Vasilyev (28)   Apr 07, 2014 at 01:05 AM 0
Share

This is not a critical problem. Don't worry.

Thanks, Slava V.

270005TN38 gravatar image

Answer by Will Sennett (1172) | Apr 03, 2014 at 01:59 PM

Hi Slava, good to hear from you again. As part of the API, you'll get the ranked answers, confidence levels, and evidence back as your response. I don't believe you'll be able to extract what you're asking for. Let me check on this one to validate.

Comment

People who like this

  0   Show 1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270002JSXB gravatar image Slava Vasilyev (28)   Apr 07, 2014 at 12:56 AM 0
Share

:) me too.

Thanks Will, SridharS. We can live without that tree.

Slava V.

Follow this question

No one has followed this question yet.

Answers

Answers & comments

Related questions

What is the Watson Relationship Extraction Service? 1 Answer

How to use Watson Content Analytics API to remove stop words and do lemmatization? 1 Answer

Can we call the Watson NLP API using Jquery ajax handler ? 1 Answer

Recommend a noob the correct service for understanding the context of questions using NLP? 1 Answer

What is the Watson Language Identification (LID) Service? 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
  • DataPower
  • Decision Optimization
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • 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
  • 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