collocation Questions

10

Solved

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 ...
Transistorize asked 18/2, 2014 at 4:41

3

Solved

I know how to get bigram and trigram collocations using NLTK and I apply them to my own corpora. The code is below. I'm not sure however about (1) how to get the collocations for a particular wor...
Lyricism asked 16/1, 2014 at 15:18

2

Solved

In this documentation, there is example using nltk.collocations.BigramAssocMeasures(), BigramCollocationFinder,nltk.collocations.TrigramAssocMeasures(), and TrigramCollocationFinder. There is exam...
Shirtmaker asked 7/9, 2013 at 9:58
1

© 2022 - 2024 — McMap. All rights reserved.