| load_delta | R Documentation |
Create a DeltaParser object from DELTA format files.
load_delta(chars_file, items_file, specs_file = NULL)
chars_file |
Path to the DELTA characters file |
items_file |
Path to the DELTA items file |
specs_file |
Optional path to the DELTA specifications file |
A DeltaParser Rcpp module object
# Load the packaged example dataset
delta <- tryCatch(
load_delta(
system.file("extdata", "chars_viola", package = "RDelta"),
system.file("extdata", "items_viola", package = "RDelta"),
system.file("extdata", "specs_viola", package = "RDelta")
),
error = function(e) NULL
)
if (!is.null(delta)) {
char_count(delta)
char_feature(delta, 1)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.