To cite package ‘ahocorasick’ in publications use:

Cheng H (2026). ahocorasick: Fast Multi-Pattern String Matching with the 'Aho-Corasick' Algorithm. R package version 0.2.0, https://CRAN.R-project.org/package=ahocorasick.

Corresponding BibTeX entry:

  @Manual{,
    title = {ahocorasick: Fast Multi-Pattern String Matching with the
      'Aho-Corasick' Algorithm},
    author = {Hao Cheng},
    year = {2026},
    note = {R package version 0.2.0},
    url = {https://CRAN.R-project.org/package=ahocorasick},
  }