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.5)semgram_0.1.1.zip(r-4.4)semgram_0.1.1.zip(r-4.3)
semgram_0.1.1.tgz(r-4.4-any)semgram_0.1.1.tgz(r-4.3-any)
semgram_0.1.1.tar.gz(r-4.5-noble)semgram_0.1.1.tar.gz(r-4.4-noble)
semgram_0.1.1.tgz(r-4.4-emscripten)semgram_0.1.1.tgz(r-4.3-emscripten)
semgram.pdf |semgram.html
semgram/json (API)
NEWS

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

Peer review:

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

On CRAN:

4.04 score 22 stars 3 scripts 204 downloads 1 exports 22 dependencies

Last updated 2 years agofrom:c572fcc8e3. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 16 2024
R-4.5-winOKNov 16 2024
R-4.5-linuxOKNov 16 2024
R-4.4-winOKNov 16 2024
R-4.4-macOKNov 16 2024
R-4.3-winOKNov 16 2024
R-4.3-macOKNov 16 2024

Exports:extract_motifs

Dependencies:base64encclicpp11data.tabledigestglueigraphlatticelifecyclemagrittrMatrixpkgconfigpngRcpprlangrsyntaxstringistringrtidyselecttokenbrowservctrswithr