There's a very detailed explanation here:
http://www.linguistics.ucsb.edu/faculty/stgries/teaching/groningen/readme.txt
Just follow the instruction and you will get the result.
The key for the R script to work is to organize your data as required.
Take the collexeme_analysis as an example, the data goes like this:
代码:
word word_frequency_in_corpus word_frequency_in_construction
give 10000 100
offer 5000 50
In addition, you need to input the corpus size and the frequency of constructions according to the prompt of the script.
Please note
the R script will not provide the data for the user. So you have to get all the frequency information using other tools.