This provides procedures for using natural language to search the airline arrival application from several client interfaces. Answers Anywhere is case sensitive, so formulate queries with case in mind.
Using natural language to search (Web interface)
This example shows how to use natural language search through a Web interface on online mode.
Open a second Web browser window in Internet Explorer, and type the following in the Location field, substituting your machine, domain, and port numbers.
http://hostname.domain:port/onepage/askua.jsp
For example:
http://lab2k.sybase.com:4040/onepage/askua.jsp
Log in using masuper
/m8super
.
Under Ask Unwired Anywhere, type get
arrivals for United
, and click Ask. The desired
information displays.
Jot down a detail such as a flight number or a gate
number, and use the information to enter a variation such as get
arrivals for United Flight # 179
or get
arrivals for United Gate 77
or what
is the Gate for United Flight A1575
or lookup
status for American Flight A78
.
Using natural language to search (PDA interface)
This example shows how to use natural language search using an M-Business Anywhere client, such as a PDA.
Access the Unwired Accelerator application on your PDA.
Select AskUA from the menu.
Enter get arrivals for United
,
and select Find. The Sync completed message displays when synchronization
is finished.
Select OK. The application data displays.
Optionally, select Save Question/Answer. This creates a shortcut on the screen, so you can launch the query again with no typing.
Using natural language to search (e-mail interface)
This example shows how to use natural language search through an e-mail interface. You need an Answers Anywhere e-mail client as described in the Unwired Accelerator Installation Guide.
Launch your e-mail client.
Compose a new e-mail message:
In To, enter the Answers Anywhere e-mail
account; for example, askua@sybase.com
.
If you do not have such an account, see the Unwired Accelerator
Installation Guide for information about setting up Answers
Anywhere for e-mail.
In Subject, enter the query, such as get
arrivals for United
.
Send the e-mail message. You will receive an e-mail containing the results of the search for flight information.
Using natural language to send information via
e-mail
This example shows how to send the results of a natural language search through e-mail to a registered user. You need an Answers Anywhere e-mail client as described in the Unwired Accelerator Installation Guide.
The registered user must have role and resource access, or the request is denied.
Launch your e-mail client.
Compose a new e-mail message:
In To, enter the Answers Anywhere e-mail
account; for example, askua@sybase.com
.
If you do not have such an account, see the Unwired Accelerator
Installation Guide for information about setting up Answers
Anywhere for e-mail.
In Subject, enter the query, such as send
arrival information for American Flight A781 to
username.
Send the e-mail message. You receive a reply stating the query has been sent to the user’s e-mail address. If successful, the registered users receives an e-mail with the results of the search for flight information.
If not successful, you receive a reply stating the query has been sent to the user name, meaning the user is not registered.
Using natural language to search (SMS interface)
This example shows how to use natural language search through an SMS interface. You need an SMS modem number as described in the Unwired Accelerator Installation Guide.
Access your SMS service on your device.
If you have not already done so, register with the SMS modem by sending an SMS text message with these three lines to the SMS modem number:
Register <user name> <password>
Compose a new SMS message:
In To, enter the SMS phone number for your service.
Enter the query, such as get arrivals
for United
, as the SMS message.
Send the SMS message. The response will be sent to your SMS device.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |