I am using Text::NSP which creates n-gram from text files. Is it possible to create tag clouds fr开发者_运维技巧om an output file of Text-NSP? I have used and liked IBM Word Cloud Generator which only gives a tag cloud output from the frequency of each word within a file. However, I am working with 2-grams and 3-grams. In short, I need a tag cloud generator which will accept an input file with words and their occurrence number. I am running on Debian. Thanks all.
I started to use R snippets package which is what I was searching for. The output of text::nsp should be changed with some bash scripts in order to obtain a dataframe acceptable by the R.
精彩评论