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:
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')) |
Bug tracker:https://github.com/omstuhler/semgram/issues
Last updated 2 years agofrom:c572fcc8e3. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 17 2024 |
R-4.5-win | OK | Oct 17 2024 |
R-4.5-linux | OK | Oct 17 2024 |
R-4.4-win | OK | Oct 17 2024 |
R-4.4-mac | OK | Oct 17 2024 |
R-4.3-win | OK | Oct 17 2024 |
R-4.3-mac | OK | Oct 17 2024 |
Exports:extract_motifs
Dependencies:base64encclicpp11data.tabledigestglueigraphlatticelifecyclemagrittrMatrixpkgconfigpngRcpprlangrsyntaxstringistringrtidyselecttokenbrowservctrswithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Extract semantic motifs from parsed text object | extract_motifs |
semgram: R package for extracting semantic motifs from text | semgram |