omstuhler/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>.

Getting started

Package details

Author Oscar Stuhler [aut, cre] (<https://orcid.org/0000-0001-7391-1743>)
Maintainer Oscar Stuhler <semgram.r@gmail.com>
LicenseGPL-3
Version0.1.1
URL https://github.com/omstuhler/semgram
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("omstuhler/semgram")
omstuhler/semgram documentation built on Oct. 5, 2022, 7:54 p.m.