Closed lmullen closed 6 years ago
library(tif) library(magrittr) tokens <- list(doc1 = c("aujourd'hui", "maman", "est", "morte"), doc2 = c("it", "was", "a", "pleasure", "to", "burn"), doc3 = c("all", "this", "happened", "more", "or", "less")) tokens %>% tif_as_tokens_df() %>% tif_is_tokens_df() #> [1] FALSE
I'd expect the output in the last line to be TRUE.
TRUE
Good point. Was being caused by the name of the second column in tif_as_tokens_df, which we had gone back and forth on what it should be called. Fixed with 90fba02
tif_as_tokens_df
I'd expect the output in the last line to be
TRUE
.