Back to labs/answer key page

Use substr, the length of the node label of the current NP, and the match operator. This might make more sense if you look at the input file while you think about it.

Back to labs/answer key page

-----

Emily M. Bender
Last modified: Fri Dec 8 11:58:03 2000