lexsync: Lexical Optimisation and Hardware-Timed Experiment Generation

A cross-platform toolkit that unifies many-language lexical-corpus access, parallel multidimensional stimulus matching, deterministic pseudoword generation, counterbalancing and the automated generation of experiments from a declarative trial-event model, for 'PsychoPy', 'OpenSesame' and the browser ('jsPsych'). The laboratory targets bind electroencephalography onset triggers to the stimulus flip. It is the R member of a dual-language pair; a structurally identical 'Python' package is also provided. Several paradigms (factorial word contrasts, lexical decision, priming, self-paced reading and cued categorisation) are supported, and each design is accompanied by a machine- and human-readable materials datasheet for reproducibility.

Version: 0.1.0
Depends: R (≥ 4.0.0)
Imports: readr, yaml, stringdist, stringi, jsonlite, digest, stats, tools, utils
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, spelling, clue, shiny, bslib, DT, zip
Published: 2026-09-22
DOI: 10.32614/CRAN.package.lexsync (may not be active yet)
Author: Pablo Bernabeu ORCID iD [aut, cre]
Maintainer: Pablo Bernabeu <pcbernabeu at gmail.com>
BugReports: https://github.com/pablobernabeu/lexsync/issues
License: MIT + file LICENSE
Copyright: The MIT licence covers the source code only. The example lexica in inst/extdata are derived from third-party data and are distributed under CC BY-SA 4.0; the terms and the attribution they require are in the LICENSE.note file.
URL: https://github.com/pablobernabeu/lexsync, https://pablobernabeu.github.io/lexsync/r/
NeedsCompilation: no
Language: en-GB
Citation: lexsync citation info
Materials: README, NEWS
CRAN checks: lexsync results

Documentation:

Reference manual: lexsync.html , lexsync.pdf
Vignettes: About (source, R code)
Experiments, paradigms and EEG triggers (source, R code)
Getting started with lexsync (source, R code)
Matching, dimensions and designs (source, R code)
References (source, R code)
Reproducibility, parity and the materials datasheet (source, R code)
The app (source, R code)

Downloads:

Package source: lexsync_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): lexsync_0.1.0.tgz, r-oldrel (x86_64): lexsync_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=lexsync to link to this page.