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>.
Package details |
|
---|---|
Author | Oscar Stuhler [aut, cre] (<https://orcid.org/0000-0001-7391-1743>) |
Maintainer | Oscar Stuhler <semgram.r@gmail.com> |
License | GPL-3 |
Version | 0.1.1 |
URL | https://github.com/omstuhler/semgram |
Package repository | View on GitHub |
Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.