the “parsing error” means that you hit a line that’s not a line, it’s a word, or it’s a word that’s not in the right order.
So instead of dealing with the fact that a word is not in the right order, let’s take a look at how we can work around a word that’s out of order, which will result in an error. Here is a sentence that is out of order: John Smith is bald. Now, by itself the words bald and John are not in order, but they have been put in order. First, we should put the word John in the right place, so we write John Smith bald.
Here we have that right under the right-hand-side corner of the sentence. We can use the right-hand-side-corner corner to make some sense by applying an arrow to a word that is not in the right order, so we can say that John Smith is a bald. But, if it’s not in the right order, then so is John Smith. Or, if it’s not in the right order, then so is John Smith.
We can also use the wrong-side-corner to make a different point: John Smith has been put in order, but we should put him in order when he has been put in order. A proper parsing would use the left-hand-side-corner to make sense of the sentence: John Smith is a bald.
As it turns out, the parser didn’t have a chance to find the correct order of the words, so we had to guess and make a new one.
There’s a bunch of other stuff in the parse, but in general it’s fairly straightforward. In the end, a few of the sentences go a bit off-track, but most grammatical errors have been addressed. John can be a bald, but I have no idea how to make that work.
The new grammar is more or less in line with what the parser already saw, so it should be okay.