I am attempting to count tri-grams either side of a phrase (one of many in a list) from text files in Python. For example in a sentence such as this:
"We know that