Parse.setParent(Parse)can be used to make the parents consistent with a particular parse, but subsequent calls to
setParentscan invalidate the results of earlier calls.
tokens- A parse containing the tokens with a single parent node.
numParses- The number of parses desired.
Copyright © 2017 The Apache Software Foundation. All rights reserved.