Description Usage Arguments Details Value See Also Examples
Extract token subsequences from a set of texts.
1 |
x |
text vector or corpus object. |
start |
integer vector giving the starting positions of the subsequences, or a two-column integer matrix giving the starting and ending positions. |
end |
integer vector giving the ending positions of the
subsequences; ignored if |
filter |
if non- |
... |
additional properties to set on the text filter. |
text_sub
extracts token subsequences from a set of texts.
The start
and end
arguments specifying the
positions of the subsequences within the parent texts, as an inclusive
range. Negative indices are interpreted as counting from the end of
the text, with -1L
referring to the last element.
A text vector with the same length and names as x
, with the
desired subsequences.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.