com.languagecomputer.api
Interface QuestionProcessingWebService

All Superinterfaces:
BaseWebService
All Known Implementing Classes:
QuestionProcessingWebServiceImpl

public interface QuestionProcessingWebService
extends BaseWebService

Interface for question processing web service. Takes in a question and creates a new query, which may contain various forms of querying such as keywords, required entity types, structured data query, etc.

Since:
1.0
Author:
Kirk Roberts

Method Summary
 String process(String sessionID, String question, String format)
          Creates a query from the question.
 
Methods inherited from interface com.languagecomputer.api.BaseWebService
registerSession, unregisterSession
 

Method Detail

process

String process(String sessionID,
               String question,
               String format)
               throws Exception
Creates a query from the question.

Parameters:
sessionID - The unique identifier String for the session for this operation.
question - The question, formatted as a raw string.
format - The format in which the query should be returned. Defaults to XML.
Returns:
The created query.
Throws:
Exception - If there was an error processing the question.


Copyright © 2009. All Rights Reserved.