Skip to contents

Creates a summary table for the input CoNLL-U data which provides the response count and proportion, total number of words, the number of unique words, and the number of unique lemmas.

Usage

fst_summarise(data, desc = "All responses")

Arguments

data

A dataframe of text in CoNLL-U format, with optional additional columns.

desc

A string describing responses in table, default is `"All responses"`.

Value

A dataframe with summary information for the data including response rate and word counts.

Examples

fst_summarise(fst_child)
#>     Description Respondents No Response Proportion Total Words Unique Words
#> 1 All responses         413           0          1        1580          559
#>   Unique Lemmas
#> 1           414
fst_summarise(fst_dev_coop, "Q11_3")
#>   Description Respondents No Response Proportion Total Words Unique Words
#> 1       Q11_3         945          25       0.97        4192         1132
#>   Unique Lemmas
#> 1           994