Read Document 2X,
and Document 2B.
- Follow the test procedure outlined in previous assignments
and provide a comparable report of results. Use the command
file parse in this directory, class2B. It calls upon
the grammar eg2B.obg and its symbol table eg2B.sym. It also
calls upon the dictionary wd2B.wdo.
Test sentences are in sents2B.ocf. Edit the file of input
directives, parse.inp as you wish. To parse the sentences
in sents2B.ocf, type the command
- parse sents2B
and return.
- Parse the following sentences with traces on WWH1, WWH2,
and WWH3. Choose one instance of each restriction that shows
it doing some work toward achieving a correct parse.
Indicate where in the restriction significant tests are made.
- *SID=EGB 001.01X.02.001
- The tower which was discovered was built by Columbus .
- *SID=EGB 001.01X.02.002
- The tower which they discovered was built by Columbus is green .
Note: When you create a file of sentences to be parsed, each
sentence must be preceded by an SID line of the same form as
above. The final period must be preceded by a space. The file
name must end with the extension ".ocf", e.g. test.ocf.
|