How you will be graded
This homework will be partly self-evaluated, along the lines of the
various (D)ARPA speech recognition bakeoffs and other such
competitions, in that you will be responsible for running your scripts
and producing output, which I will then compare with what I get from
my own scripts.
Since you will be running your own code, I do not care what
programming language you use to write your programs.
Here's what will happen. Please follow these
instructions carefully as I will deduct points if I have to do extra
work to check your results :
-
At 8:00 PM on the evening of Sunday, February 24, there will
appear a file at
http://catarina.ai.uiuc.edu/L406_08/Homeworks/hw3-eval.tgz
-
Once you have unpacked that tarfile, you will change directories to
hw3-eval and you will find:
-
grammar.txt
-
sentences
-
sentences2
-
additional_words
-
You will run your CNF expander on "grammar.txt" and put the result in
"grammar.cnf.txt".
-
You will then run your CKY recognizer on "sentences", and put the
result in "sentences.out"
-
Finally, you will run the CKY recognizer with the grammar from Problem
3 on the sentences in "sentences2" and put them in
"sentences2.out". The file "additional_words" will contain some
additional words that you will need to add to your Problem 3 grammar
in order to parse the sentences in "sentences2".
Once you have run these and created the output files, I want you to
create a directory called "hw3_youremailhandle" (where
"youremailhandle" should be substituted with your email handle). In
that directory put the "grammar.cnf.txt", "sentences.out" and
"sentences2.out" that you created just above. You should also put in
that directory a copy of your CNF expander, a copy of your CKY parser,
and the expanded grammar you created for problem 3. (I take it that
it's obvious, but if you use a compiled language like C or C++, I want
the source code, not the executable; in that case also
provide a Makefile that shows how to compile your code.) Then tar up
the result as follows:
tar -cvf hw3_youremailhandle.tar hw3_youremailhandle
and post it somewhere where I can find it.
Note that the grammars and sentence files I will provide will be quite
a bit bigger than the small examples that you worked with before. So
you won't want to be doing this by hand.