sentence1: schwartz and hearst implemented a simple algorithm that finds the shortest expression containing all alphanumerical letters of an abbreviation .
sentence2: schwartz and hearst implemented an algorithm for identifying acronyms by using parenthetical expressions as a marker of a short form .