Nothing
library(RcppCWB)
use_tmp_registry()
testthat::context("cpos2struc")
test_that(
"cpos2struc",
{
N <- cl_cpos2struc(
corpus = "REUTERS",
s_attribute = "places",
cpos = 100L,
registry = get_tmp_registry()
)
expect_equal(N, 1L)
}
)
test_that(
"cpos2struc - new like old",
{
strucs_old <- cl_cpos2struc(
corpus = "REUTERS",
s_attribute = "places",
cpos = 1:100L,
registry = get_tmp_registry()
)
s <- s_attr(corpus = "REUTERS", s_attribute = "places", registry = get_tmp_registry())
strucs_new <- cpos_to_struc(1:100L, s_attr = s)
}
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.