Description Usage Arguments Value See Also Examples
mc_clauses
counts the number of clause units (bounded by the
<##>
or <#>
GRAID annotation symbols) in a multicastR table.
1 | mc_clauses(x, bytext = FALSE, printToConsole = FALSE)
|
x |
A |
bytext |
Logical. If |
printToConsole |
Logical. If |
A data.frame
with the corpus
, text
(if
bytext
is TRUE
), the number of valid clause units in each
corpus (nClause
), the total number of clause units (nAll
),
the number of clause units not analyzed (nNC
), and the percentage
the later make up of the total (pNC
).
multicast
, mc_index
,
mc_metadata
, mc_referents
,
mc_clauses
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# count clause units in the most recent version
# of the Multi-CAST data, by corpus
n <- mc_clauses(multicast())
# count by text instead
m <- mc_clauses(multicast(), bytext = TRUE)
# number of clauses units in the whole collection
sum(n$nClauses)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.