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)semgram_0.1.1.zip(r-4.6)semgram_0.1.1.zip(r-4.5)
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
card.svg |card.png
semgram/json (API)
NEWS

# 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.28 score 27 stars 14 scripts 198 downloads 1 exports 21 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK114
source / vignettesOK203
linux-release-x86_64OK153
macos-release-arm64OK146
macos-oldrel-arm64OK188
windows-develOK75
windows-releaseOK123
windows-oldrelOK70
wasm-releaseOK117

Exports:extract_motifs

Dependencies:base64encclicpp11data.tabledigestglueigraphlatticelifecyclemagrittrMatrixpkgconfigpngrlangrsyntaxstringistringrtidyselecttokenbrowservctrswithr