UCS {UCS}R Documentation

Introduction to UCS/R


UCS/R consists of a set of R libraries related to the visualisation of cooccurrence data and the evaluation of association measures. The current functionaliy includes: evaluation graphs for association measures (in terms of precision and recall), measures for inter-annotator agreement, and two population models for word frequency distributions.




UCS/R is initialised by sourceing the file ‘ucs.R’ in the ‘lib/’ subdirectory of the UCS/R directory tree. This will make the UCS/R documentation available in the R process and provide the ucs.library command, which is used to load individual UCS/R modules. Enter ucs.library() now to display a list of available modules (see the ucs.library manpage for details).

Currently, the following modules are available. The listing below also indicates the most important manpages for each module. Throughout the documentation, it is assumed that you are familiar with the UCS/Perl naming conventions and data set file format.

The command help(package=UCS) will give you a full index of available UCS/R help pages. Use help.search() for full-text search.


The correct source path for the file ‘ucs.R’ can be set automatically with the UCS/Perl tool ucs-config. Simply insert the statement

on a separate line in your R script file (say, ‘my-script.R’) and run the shell command
    ucs-config my-script.R


Baayen, R. Harald (2001). Word Frequency Distributions. Kluwer, Dordrecht.

Evert, Stefan (2004). The Statistics of Word Cooccurrences: Word Pairs and Collocations. PhD Thesis, IMS, University of Stuttgart.

Evert, Stefan (2004a). A simple LNRE model for random character sequences. In Proceedings of JADT 2004, Louvain-la-Neuve, Belgium, pages 411–422.

Fleiss, Joseph L.; Cohen, Jacob; Everitt, B. S. (1969). Large sample standard errors of kappa and weighted kappa. Psychological Bulletin, 72(5), 323–327.

Krenn, Brigitte; Evert, Stefan; Zinsmeister, Heike (2004). Determining intercoder agreement for a collocation identification task. In preparation.

See Also

ucs.library, the UCS/R tutorial (‘tutorial.R’ in the ‘script/’ subdirectory) and the UCS/Perl documentation.

[Package UCS version 0.5 Index]