rtext: R6 Objects for Text and Data

Share:

For natural language processing and analysis of qualitative text coding structures which provide a way to bind together text and text data are fundamental. The package provides such a structure and accompanying methods in form of R6 objects. The 'rtext' class allows for text handling and text coding (character or regex based) including data updates on text transformations as well as aggregation on various levels. Furthermore, the usage of R6 enables inheritance and passing by reference which should enable 'rtext' instances to be used as back-end for R based graphical text editors or text coding GUIs.

Author
Peter Meissner [aut, cre], Ulrich Sieberer [cph], University of Konstanz [cph]
Date of publication
2016-11-01 17:07:14
Maintainer
Peter Meissner <retep.meissner@gmail.com>
License
MIT + file LICENSE
Version
0.1.20
URLs

View on CRAN

Man pages

bind_between
function forcing value to fall between min and max
classes
function to get classes from e.g. lists
dim1
get first dimension or length of object
dim2
get first dimension or length of object
dp_arrange
function to sort df by variables
get_vector_element
function that extracts elements from vector
is_between
function that checks is values are in between values
load_into
function that loads saved rtext
modus
function giving back the mode
pipe
magrittr pipe
plot.rtext
function for plotting rtext
prometheus_early
prometheus early version
prometheus_late
prometheus late version
R6_rtext_extended
extended R6 class
rbind_fill
function for binding data.frames even if names do not match
read_utf8_csv
function to read csv file with UTF-8 characters (even under...
rtext
R6 class - linking text and data
rtext_base
rtext_base : basic workhorse for rtext
rtext_export
R6 class - linking text and data
rtext_get_character
function to get text from rtext object
rtext_hash
function to get hash for R objects
rtext_loadsave
R6 class - load and save methods for rtext
rtext_tokenize
R6 class - linking text and data
seq_dim1
seq along first dimension / length
shift
function that shifts vector values to right or left
testfile
text function: wrapper for system.file() to access test files
text_tokenize.rtext
function tokenizing rtext objects
vector_delete
function used to delete parts from a vector
which_token
function returning index of spans that entail x
which_token_worker
(function to check which chars belong to which token) takes a...
write_utf8_csv
function to write csv files with UTF-8 characters (even under...

Files in this package

rtext
rtext/inst
rtext/inst/testfiles
rtext/inst/testfiles/test_init1.txt
rtext/inst/testfiles/rc_2_ch1.txt
rtext/inst/testfiles/test_utf8.txt
rtext/inst/testfiles/rc_1_ch1.txt
rtext/inst/testfiles/rc_1.txt
rtext/inst/testfiles/rc_3.txt
rtext/inst/testfiles/rc_3_ch1.txt
rtext/inst/testfiles/test_latin1.txt
rtext/inst/testfiles/rc_2.txt
rtext/inst/CITATION
rtext/tests
rtext/tests/testthat
rtext/tests/testthat/test_rtext.R
rtext/tests/testthat/test_tools.R
rtext/tests/testthat/NA
rtext/tests/testthat/test_rtext_base.R
rtext/tests/testthat/test_rtext_loadsave.R
rtext/tests/testthat/test_rtext_export.R
rtext/tests/testthat/test_r6_rtext_extended.R
rtext/tests/test-all.R
rtext/src
rtext/src/which_token_worker.cpp
rtext/src/RcppExports.cpp
rtext/NAMESPACE
rtext/NEWS.md
rtext/data
rtext/data/prometheus_late.R
rtext/data/prometheus_early.R
rtext/R
rtext/R/prometheus.R
rtext/R/rtext.R
rtext/R/imports.r
rtext/R/RcppExports.R
rtext/R/tools.R
rtext/R/text_tools.R
rtext/R/rtext_base.R
rtext/R/R6_rtext_extended.r
rtext/R/rtext_tools.R
rtext/R/rtext_export.R
rtext/R/rtext_tokenize.R
rtext/R/rtext_loadsave.R
rtext/R/zzz.R
rtext/README.md
rtext/MD5
rtext/DESCRIPTION
rtext/man
rtext/man/vector_delete.Rd
rtext/man/is_between.Rd
rtext/man/classes.Rd
rtext/man/pipe.Rd
rtext/man/shift.Rd
rtext/man/rtext_get_character.Rd
rtext/man/rtext_hash.Rd
rtext/man/text_tokenize.rtext.Rd
rtext/man/rtext_loadsave.Rd
rtext/man/dim1.Rd
rtext/man/write_utf8_csv.Rd
rtext/man/which_token.Rd
rtext/man/modus.Rd
rtext/man/dp_arrange.Rd
rtext/man/seq_dim1.Rd
rtext/man/R6_rtext_extended.Rd
rtext/man/rtext_export.Rd
rtext/man/bind_between.Rd
rtext/man/load_into.Rd
rtext/man/rtext.Rd
rtext/man/rtext_tokenize.Rd
rtext/man/rbind_fill.Rd
rtext/man/read_utf8_csv.Rd
rtext/man/rtext_base.Rd
rtext/man/dim2.Rd
rtext/man/plot.rtext.Rd
rtext/man/which_token_worker.Rd
rtext/man/get_vector_element.Rd
rtext/man/testfile.Rd
rtext/man/prometheus_early.Rd
rtext/man/prometheus_late.Rd
rtext/LICENSE