setref assigns scores to documents
setref reftextvar1 score1 reftextvar2 score2 ...
setref assigns to each reference text variable a numerical score. Reference texts are referred to by their Stata variable names (not their filenames). For example, after running wordfreq or phrasefreq the file 'ref1.txt' will have corresponding Stata variable 'tref1'. This variable should be used in setref. See wordfreq for detail of the variable naming scheme.
Examine the source.
Previous | Up to Table of Contents | Next |