com.languagecomputer.api.sample
Class QuestionAnsweringViaWebClient
java.lang.Object
com.languagecomputer.api.sample.QuestionAnsweringViaWebClient
public class QuestionAnsweringViaWebClient
- extends Object
Sample code for performing question answering via the
QuestionAnsweringServiceWebClient
.
- Since:
- 1.0
- Author:
- Kirk Roberts
Method Summary |
static void |
main(String[] argv)
Command line argument structure:
[host] [question] .
Where:
[host] is the hostname for the QuestionAnsweringService
[question] is the question to ask the system, or a file containing
questions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuestionAnsweringViaWebClient
public QuestionAnsweringViaWebClient()
main
public static void main(String[] argv)
throws Exception
- Command line argument structure:
[host] [question]
.
Where:
[host] is the hostname for the QuestionAnsweringService
[question] is the question to ask the system, or a file containing
questions
- Throws:
Exception
Copyright © 2009. All Rights Reserved.