To cite package ‘semgram’ in publications use:

Stuhler O (2022). semgram: Extracting Semantic Motifs from Textual Data. R package version 0.1.1, https://github.com/omstuhler/semgram.

Corresponding BibTeX entry:

  @Manual{,
    title = {semgram: Extracting Semantic Motifs from Textual Data},
    author = {Oscar Stuhler},
    year = {2022},
    note = {R package version 0.1.1},
    url = {https://github.com/omstuhler/semgram},
  }