Counting frequency of tri-grams next to phrases in text using python

前端 未结 0 998
遥遥无期
遥遥无期 2021-02-02 07:56

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题