Package: rsyntax 0.1.4
rsyntax: Extract Semantic Relations from Text by Querying and Reshaping Syntax
Various functions for querying and reshaping dependency trees, as for instance created with the 'spacyr' or 'udpipe' packages. This enables the automatic extraction of useful semantic relations from texts, such as quotes (who said what) and clauses (who did what). Method proposed in Van Atteveldt et al. (2017) <doi:10.1017/pan.2016.12>.
Authors:
rsyntax_0.1.4.tar.gz
rsyntax_0.1.4.zip(r-4.5)rsyntax_0.1.4.zip(r-4.4)rsyntax_0.1.4.zip(r-4.3)
rsyntax_0.1.4.tgz(r-4.4-any)rsyntax_0.1.4.tgz(r-4.3-any)
rsyntax_0.1.4.tar.gz(r-4.5-noble)rsyntax_0.1.4.tar.gz(r-4.4-noble)
rsyntax_0.1.4.tgz(r-4.4-emscripten)rsyntax_0.1.4.tgz(r-4.3-emscripten)
rsyntax.pdf |rsyntax.html✨
rsyntax/json (API)
# Install 'rsyntax' in R: |
install.packages('rsyntax', repos = c('https://kasperwelbers.r-universe.dev', 'https://cloud.r-project.org')) |
- dutch - Dutch lemma
- quote_punctuation - Quote punctuation
- tokens_corenlp - Example tokens for coreNLP English
- tokens_dutchclauses - Example tokens for Dutch clauses
- tokens_dutchquotes - Example tokens for Dutch quotes
- tokens_spacy - Example tokens for spacy English
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 2 years agofrom:4264352d40. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 26 2024 |
R-4.5-win | OK | Oct 26 2024 |
R-4.5-linux | OK | Oct 26 2024 |
R-4.4-win | OK | Oct 26 2024 |
R-4.4-mac | OK | Oct 26 2024 |
R-4.3-win | OK | Oct 26 2024 |
R-4.3-mac | OK | Oct 26 2024 |
Exports:%>%add_span_quotesANDannotateannotate_nodesannotate_tqueriesapply_queriesas_tokenindexBREAKcast_textchildrenchopclimb_treecopy_fillcopy_nodescustom_fillfillget_branch_idget_long_idsget_nodesisolate_branchmutate_nodesNOTnot_childrennot_parentsORparentsplot_treeremove_fillremove_nodesreselect_nodesrsyntax_threadsselect_nodesselected_nodesset_rsyntax_threadssplit_UD_conjsubset_nodessyntax_readertqueryunselect_nodes
Dependencies:base64encclicpp11data.tabledigestglueigraphlatticelifecyclemagrittrMatrixpkgconfigpngRcpprlangstringitidyselecttokenbrowservctrswithr