mclm Corpus Linguistics Methods Package User Manual

User guide for the mclm package to read, inspect and process corpus files for quantitative corpus linguistics.


mclm Corpus Linguistics Methods Package User Manual - cover page
Brand
mclm
Category
Programming
Document type
User Manual
Language
English
Pages
108
File format
PDF
File size
423 KB
Published
22 November, 2026
Updated
22 November, 2026
MD5 checksum
E1593A76BAEC7D66581B0BF6D0F8156D

About this manual

This manual describes the mclm package for quantitative corpus linguistics. It enables users to read and process corpus files, tokenize text, compute frequencies and association measures, and perform collocation and keyword analysis. The package supports various statistical measures and handles zero frequencies with Haldane-Anscombe correction or small positive value addition.

The package is built for R and depends on libraries like ca, tibble, dplyr, and Rcpp. It includes functions for concordance retrieval, frequency lists, association scores, and data merging. Documentation is available via GitHub and CRAN.

What's inside

  • assoc_scores
  • as_character
  • as_conc
  • as_data_frame
  • as_fnames
  • as_freqlist
  • as_numeric
  • as_tokens
  • as_types
  • brackets

Specifications

Version0.2.7
LanguageEnglish
LicenseGPL-2
PlatformR
AuthorDirk Speelman, Mariana Montes
MaintainerMariana Montes
RepositoryCRAN
Date Published2022-10-03

Frequently asked questions

What does the mclm package do?

It reads, inspects and processes corpus files for quantitative corpus linguistics. It supports concordance retrieval, tokenization, frequency and association measure computation, and collocation and keyword analysis.

What association measures are supported?

It supports measures including exp_a, DP_rows, RR_rows, OR, MS, Dice, PMI, chi2_signed, G_signed, t, and fisher.

What are the dependencies of mclm?

It depends on ca, tibble, and imports crayon, dplyr, Rcpp, readr, stringi, stringr, tm, xml2, and yaml.

Download PDF (423 KB)