Forming Bigrams of words in list of sentences with Python
Forming Bigrams of words in list of sentences with Python Question: I have a list of sentences: text = [‘cant railway station’,’citadel hotel’,’ police stn’]. I need to form bigram pairs and store them in a variable. The problem is that when I do that, I get a pair of sentences instead of words. Here …
Total answers: 10