Wrapper function for add_group() to add sentence id
Examples
review_mecab |>
unescape_utf() |>
add_sentence_no() |>
print(n=200)
#> Error in dplyr::mutate(tbl, `:=`({ { grp }}, cumsum(eval_str(cond)) + 1)): ℹ In argument: `sentence = cumsum(eval_str(cond)) + 1`.
#> Caused by error in `df$表層形`:
#> ! object of type 'closure' is not subsettable