sentence1: in contrast , the boyer-moore , and backward oracle matching algorithms move a length-m search window across the text and first compare its last character to the last character of the pattern .
sentence2: in contrast , the boyer-moore algorithms move a length-m search window across the text and first compare its last character to the last character of the pattern .