Given a fixed list of terms, and a string:
A = [\'the\', \'quick brown\', \'fox\', \'dog\'] B = \'the jump, lazy "dog" quick brown.\'