Attempt to repair erroneously split words during matching
Add some logging to match_text. We need a way to do this properly.