Orthogonal to this is the question of sensitivity to segment order.
should our match mechanism treat each string as an unorganised multiset of terms (the bag-of-words approach), or attempt to find the match that best preserves the original segment order in the input (the segment order-sensitive approach)?