FMAT: The Fill-Mask Association Test

The Fill-Mask Association Test ('FMAT') <doi:10.1037/pspa0000396> is an integrative, probability-based social computing method using Masked Language Models to measure conceptual associations (e.g., attitudes, biases, stereotypes, social norms, cultural values) as propositional semantic representations in natural language. Supported language models include 'BERT' <doi:10.48550/arXiv.1810.04805> and its variants available at 'Hugging Face' <https://huggingface.co/models?pipeline_tag=fill-mask>. Methodological references and installation guidance are provided at <https://psychbruce.github.io/FMAT/>.

Version: 2026.1
Depends: R (≥ 4.0.0)
Imports: reticulate, data.table, stringr, forcats, rvest, psych, irr, glue, crayon, cli, purrr, plyr, dplyr, tidyr
Suggests: bruceR, PsychWordVec, text, sweater, nlme
Published: 2026-01-12
DOI: 10.32614/CRAN.package.FMAT
Author: Han Wu Shuang Bao ORCID iD [aut, cre]
Maintainer: Han Wu Shuang Bao <baohws at foxmail.com>
BugReports: https://github.com/psychbruce/FMAT/issues
License: GPL-3
URL: https://psychbruce.github.io/FMAT/
NeedsCompilation: no
SystemRequirements: Python (>= 3.9.0)
Materials: README, NEWS
CRAN checks: FMAT results

Documentation:

Reference manual: FMAT.html , FMAT.pdf

Downloads:

Package source: FMAT_2026.1.tar.gz
Windows binaries: r-devel: FMAT_2025.12.zip, r-release: FMAT_2025.12.zip, r-oldrel: FMAT_2025.12.zip
macOS binaries: r-release (arm64): FMAT_2025.12.tgz, r-oldrel (arm64): FMAT_2025.12.tgz, r-release (x86_64): FMAT_2025.12.tgz, r-oldrel (x86_64): FMAT_2025.12.tgz
Old sources: FMAT archive

Linking:

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