Learn R Programming

moranajp (version 0.9.7)

add_sentence_no: Wrapper function for add_group() to add sentence id

Description

Wrapper function for add_group() to add sentence id

Usage

add_sentence_no(df, s_id = "sentence")

Value

A dataframe

Arguments

df

A dataframe

s_id

A string for sentence colame

Examples

Run this code
review_mecab |>
  unescape_utf() |>
  add_sentence_no() |>
  print(n=200)

Run the code above in your browser using DataLab