NAvalues are handled in
unnest_tokensso they no longer cause other columns to become
data.table) consistently (#88).
bind_tf_idf, all sparse casters) (#67, #74).
get_sentimentsnow works regardless of whether
tidytexthas been loaded or not (#50).
unnest_tokensnow supports data.table objects (#37).
unnest_tokensto work properly for all tokenizing options.
glance.corpus, tests, and vignette for changes to quanteda API
pair_countfunction, which is now in the in-development widyr package
unnest_tokenspreserves custom attributes of data frames and data.tables
cast_dtm, and other sparse casters to ignore groups in the input (#19)
unnest_tokensso that it no longer uses tidyr’s unnest, but rather a custom version that removes some overhead. In some experiments, this sped up unnest_tokens on large inputs by about 40%. This also moves tidyr from Imports to Suggests for now.
unnest_tokensnow checks that there are no list columns in the input, and raises an error if present (since those cannot be unnested).
formatargument to unnest_tokens so that it can process html, xml, latex or man pages using the hunspell package, though only when
token = "words".
get_sentimentsfunction that takes the name of a lexicon (“nrc”, “bing”, or “sentiment”) and returns just that sentiment data frame (#25)
cast_sparseto work with dplyr 0.5.0
pair_countfunction, which has been moved to
pairwise_countin the widyr package. This will be removed entirely in a future version.