semgram: Extracting Semantic Motifs from Textual Data

A framework for extracting semantic motifs around entities in textual data. It implements an entity-centered semantic grammar that distinguishes six classes of motifs: actions of an entity, treatments of an entity, agents acting upon an entity, patients acted upon by an entity, characterizations of an entity, and possessions of an entity. Motifs are identified by applying a set of extraction rules to a parsed text object that includes part-of-speech tags and dependency annotations - such as those generated by 'spacyr'. For further reference, see: Stuhler (2022) <doi:10.1177/00491241221099551>.

Version: 0.1.0
Depends: R (≥ 3.5.3)
Imports: data.table, rsyntax (≥ 0.1.2), stringr
Published: 2022-05-31
DOI: 10.32614/CRAN.package.semgram
Author: Oscar Stuhler ORCID iD [aut, cre]
Maintainer: Oscar Stuhler <semgram.r at gmail.com>
BugReports: https://github.com/omstuhler/semgram/issues
License: GPL-3
URL: https://github.com/omstuhler/semgram
NeedsCompilation: no
Materials: README
CRAN checks: semgram results

Documentation:

Reference manual: semgram.pdf

Downloads:

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

Linking:

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