sentence1: the algorithm used in this research is an extension of the treeminer algorithm , modified to extract only closed subtrees .
sentence2: this software is an implementation of the algorithm presented by , which extracts frequent ordered subtrees from a set of ordered trees .