Creating an airline arrival application  Chapter 11: Troubleshooting

Chapter 10: Setting up Natural Language Search

Using natural language to search

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.

StepsUsing natural language to search (Web interface)

This example shows how to use natural language search through a Web interface on online mode.

  1. 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
    
  2. Log in using masuper/m8super.

  3. Under Ask Unwired Anywhere, type get arrivals for United, and click Ask. The desired information displays.

  4. 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.

StepsUsing 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.

  1. Access the Unwired Accelerator application on your PDA.

  2. Select AskUA from the menu.

  3. Enter get arrivals for United, and select Find. The Sync completed message displays when synchronization is finished.

  4. Select OK. The application data displays.

  5. Optionally, select Save Question/Answer. This creates a shortcut on the screen, so you can launch the query again with no typing.

StepsUsing 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.

  1. Launch your e-mail client.

  2. Compose a new e-mail message:

  3. Send the e-mail message. You will receive an e-mail containing the results of the search for flight information.

StepsUsing 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.

NoteThe registered user must have role and resource access, or the request is denied.

  1. Launch your e-mail client.

  2. Compose a new e-mail message:

  3. 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.

StepsUsing 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.

  1. Access your SMS service on your device.

  2. 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>
    
  3. Compose a new SMS message:

  4. Send the SMS message. The response will be sent to your SMS device.





Copyright © 2005. Sybase Inc. All rights reserved. Chapter 11: Troubleshooting

View this book as PDF