dfm_split_hyphenated_features {quanteda.textstats} | R Documentation |
Takes a dfm that contains features with hyphenated words, such as
"split-second" and turns them into features that split the elements
in the same was as tokens(x, remove_hyphens = TRUE)
would have done.
dfm_split_hyphenated_features(x)
x |
input dfm |