nsentence(x)
a character or corpus whose sentences will be counted
count(s) of the total sentences per text
nsentence()
is now deprecated for all usages except tokens objects that
have already been tokenised with tokens(x, what = "sentence")
. Using it
on character or corpus objects will now generate a warning.
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.