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://github.com/yousa-mirage/r-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://github.com/yousa-mirage/r-ahocorasick},
  }