Description Usage Arguments Value Examples
Replaces incomplete sentence end marks (.., ..., .?, ..?,
en \& em dash etc.) with "|"
.
1 2 3 | incomplete.replace(text.var, scan.mode = FALSE)
incomp(text.var, scan.mode = FALSE)
|
text.var |
The text variable. |
scan.mode |
logical. If TRUE only scans and reports incomplete sentences. |
Returns a text variable (character sting) with incomplete sentence marks (.., ..., .?, ..?, en \& em dash etc. replaced with "|". If scan mode is TRUE returns a data frame with incomplete sentence location.
1 2 3 4 | x <- c("the...", "I.?", "you.", "threw..", "we?")
incomplete.replace(x)
incomp(x)
incomp(x, scan.mode = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.