Contextual Biasing with the Knuth-Morris-Pratt Matching Algorithm