You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: R/prep_dyads.R
+20-1Lines changed: 20 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@
9
9
#' @param lemmatize logical, should words be lemmatized (switched to base morphological form), default is TRUE
10
10
#' @param which_stoplist user-specified stopword removal method with options including "none", "SMART", "MIT_stops", "CA_OriginalStops", or "Temple_Stopwords25".
11
11
#' "Temple_Stopwords25 is the default list
12
+
#' @param remove_backchannel logical, should turns that are full of stopwords (e.g., "Uhm yeah") be preserved as NAs or removed. Removal will 'squish' the turn before and after together into one. If NAs are preserved they are later interpolated.
12
13
#' @param verbose display detailed output such as error messages and progress (default is TRUE)
13
14
#' @returns
14
15
#' dataframe with text cleaned and vectorized to a one word per-row format.
0 commit comments