quanteda / quanteda.textstats

Textual statistics for quanteda
GNU General Public License v3.0
14 stars 2 forks source link

Add argument similar to dfm_trim() to textstat_collocation() #11

Open koheiw opened 4 years ago

koheiw commented 4 years ago

textstat_collocation() has min_count to limit ngrams whose association is tested, but it difficult to set absolute values. It would be nice to have a function to test top n ngrams like min_freq = 1000, freq_type = "rank".