sentence1: this paper described a simple pattern-matching algorithm for restoring empty nodes in parse trees that do not contain them , and appropriately .
sentence2: this paper describes a simple pattern-matching algorithm for post-processing the output of such parsers to add a wide variety of empty nodes to its parse trees .