The Elizabeth Scott paper on parse forest creation reuses parse forest nodes if they already exist. Because the Leo completion function utilizes transition items and virtual parse forest nodes, the parse forest creation is deferred and must be recreated lazily during parse forest traversal.
Currently the Leo completion algorithm doesn't reuse the existing parse forest nodes and causes duplicate trees.
The Elizabeth Scott paper on parse forest creation reuses parse forest nodes if they already exist. Because the Leo completion function utilizes transition items and virtual parse forest nodes, the parse forest creation is deferred and must be recreated lazily during parse forest traversal.
Currently the Leo completion algorithm doesn't reuse the existing parse forest nodes and causes duplicate trees.
Example:
Input: "01"