Package: semgram 0.1.1

Oscar Stuhler

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

Authors:Oscar Stuhler [aut, cre]

semgram_0.1.1.tar.gz
semgram_0.1.1.zip(r-4.7-any)semgram_0.1.1.zip(r-4.6-any)semgram_0.1.1.zip(r-4.5-any)
semgram_0.1.1.tgz(r-4.6-any)semgram_0.1.1.tgz(r-4.5-any)
semgram_0.1.1.tar.gz(r-4.7-any)semgram_0.1.1.tar.gz(r-4.6-any)
semgram_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
semgram/json (API)

# Install 'semgram' in R:
install.packages('semgram', repos = c('https://omstuhler.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/omstuhler/semgram/issues

On CRAN:

Conda:

4.31 score 27 stars 15 scripts 249 downloads 1 exports 21 dependencies

Last updated from:c572fcc8e3. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK108
source / vignettesOK207
linux-releaseOK115
macos-releaseOK216
macos-oldrelOK235
windows-develOK86
windows-releaseOK72
windows-oldrelOK75
wasm-releaseOK85

Exports:extract_motifs

Dependencies:base64encclicpp11data.tabledigestglueigraphlatticelifecyclemagrittrMatrixpkgconfigpngrlangrsyntaxstringistringrtidyselecttokenbrowservctrswithr