Description Usage Arguments Value Note Examples
Return the count of sentences in a corpus or character object.
1 | nsentence(x)
|
x |
a character or corpus whose sentences will be counted |
count(s) of the total sentences per text
nsentence()
relies on the boundaries definitions in the stringi
package (see stri_opts_brkiter). It does not
count sentences correctly if the text has been transformed to lower case,
and for this reason nsentence()
will issue a warning if it detects all
lower-cased text.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.