Answers Anywhere tutorial  Using natural language to search

Chapter 10: Setting up Natural Language Search

Creating an airline arrival application

This tutorial discusses how to establish application and field synonyms for an airline arrival application.

StepsCreating synonyms for an application

  1. In Mobile Web Studio, click Applications in the Build menu, and click the New button. The Application Builder window displays.

  2. In Application Builder, click Add to launch the New Web Element window.

  3. In Location, enter the following URL:

    www.flysfo.com/airlines/arrivdepart/index.asp
    

    Click Find or press Enter to display the Web site.

  4. Select American Airlines and Arrival from the drop-down lists, and click “retrieve info.”

  5. After the screen refreshes, click Next in the top right portion of the New Web Element window.

  6. When the Web page reloads, move your mouse over the table of arrivals and departures, and select a row. You see a preview page where you select the format to display.

  7. Click Select to the left of the table, then click Gridify. (You can use the scroll bar to scroll through the various format options). The Split window displays.

  8. Click Next to bypass the Split window. The Define window displays.

  9. On the Define window, identify the first row as the header row:

  10. Click Next to bypass the Filter window. The parameter definition window displays.

  11. On the parameter definition window, check the Variable box to the left of “airline.” Then make this modification (accept the defaults for all other entries):

  12. Click Add. The Edit Default Value window displays.

  13. Enter these values:

  14. Click OK.

  15. Click Next. The Window Preview displays the modified table.

  16. In Element Name, enter Arrivals as the name for this Web element, and click Next. The Continuous Capture window displays.

  17. Click Finish to bypass the Continuous Capture window. The New Web Element window closes.

  18. On the Application Builder window, notice that the Arrivals element appears under Element List.

  19. Click Save.

  20. On the Finish window, make these entries (otherwise accept the defaults):

    Content tab In Name, enter Arrivals.

    Answers Anywhere tab Add the Application and Field synonyms:

    For Application Synonyms:

    For Field Synonyms, select the Assigned Fields from the list of Available Fields:

    For the list of selected Assigned Fields, set up the synonyms:

    For Parameter Synonyms:

    In Default Filter Field, select “Gate” from the drop-down list.

  21. Select Check Conflicts to make sure the synonyms are unique for all Unwired Accelerator applications. The Check Conflicts window displays. If no conflicts are reported, close the window and proceed.

    If conflicts are reported, change the synonyms that are in conflict to unique values. If synonym or field names are the same between two or more applications, Unwired Accelerator selects the one that was created first.

  22. Click Finish to save the application, and click OK in the Application Saved Successfully window.

  23. Click Close in the upper-right corner to close the Application Builder window.

  24. Click New under Application Manager Status. The Arrivals application displays in the detail pane.

  25. Approve the Arrivals application by right-clicking the Arrivals application in the detail pane, and selecting Approval Status | Approved.

  26. Click OK.

  27. Click Approved under Application Manager Status. The Arrivals application displays.

You have successfully created an application using a Web site as a source, and added search synonyms.





Copyright © 2005. Sybase Inc. All rights reserved. Using natural language to search

View this book as PDF