Information 
What's New
About Fido
Web Services
Tutorials
Developer Info
Download
Online Demo
 Other Links 
Source and project information at:

SourceForge Logo

For questions, email:
Chad Dionis

 Tutorial 1 - Part 2 - Step 4 
Now that the system has all of the words from the example, we can use the Dictionary test tool to graphically view the linkages of the sentence. To access the tool, click the Dictionary Table link from the main page. Then click on the Test Grammar Strings link.

This will bring up a new window that allows the user to interactivly enter words into the sentence and view the current and outstanding links.

Upon bringing up the tool, the system automatically inserts the LEFT-WALL word we added in step 2. We added the Grammar String as AV+. The following picture displays that the LEFT-WALL has an AV open link to the right.

Now we will add the first word of the example sentence by entering john into the Enter Word field, then pressing enter. The picture will be updated to represent both the LEFT-WALL still has an open AV link, and now the john word is looking for a subject.

Continuing entering all of the words of the example sentence john has a dog. The following should be the linkages found:

There are two linkages for the current sentence. The first, the incorrect one, has dog looking for a subject to the right, and the verb is still looking for its direct object. Since we have completed entering in words, any sentences with hanging open links will be discarded. So this linkage will not be processed.

The second linkage correctly shows dog as the direct object of the verb, and no open links. Therefore, the collection of words entered is at least syntactically valid for the grammar we have entered in the dictionary.

Note that the word has correctly used the Grammar String for the root word have in the Dictionary.

The system syntactically interprets the sentence as:

The AV link from the LEFT-WALL says the verb is an action verb in a regular SVO sentence (as opposed to a question, which would have the verb first). The verb has a subject and a direct object. John has an S link which puts it in the subject role. Dog has a DO link for direct object. The D link is for an article.

· Intro
· Next

Last modified: September 22 2002 00:35:22
© 2002 Fido Development Team