Skip to content

Releases: juliasilge/tidytext

tidytext 0.2.3

04 Mar 15:59
Compare
Choose a tag to compare
  • Wrapper tokenization functions for n-grams, characters, sentences, tweets, and more, thanks to @ColinFay (#137).
  • Simplify get_sentiments() thanks to @jennybc (#151).
  • Fix flaky tests for corpus tidiers.

tidytext 0.2.2

30 Jul 14:05
Compare
Choose a tag to compare
  • Access NRC lexicon via textdata package

tidytext 0.2.1

14 Jun 17:00
Compare
Choose a tag to compare
  • Fix bug in augment() function for stm topic model.
  • Warn when tf-idf is negative, thanks to @EmilHvitfeldt (#112).
  • Switch from importing broom to importing generics, for lighter dependencies (#133).
  • Add functions for reordering factors (such as for ggplot2 bar plots) thanks to @tmastny (#110).
  • Update to tibble() where appropriate, thanks to @luisdza (#136).
  • Clarify documentation about impact of lowercase conversion on URLs (#139).
  • Change how sentiment lexicons are accessed from package (remove NRC lexicon entirely, access AFINN and Loughran lexicons via textdata package so they are no longer included in this package).

tidytext 0.2.0

18 Oct 19:27
Compare
Choose a tag to compare
  • Improvements to documentation (#117)
  • Fix for NSE thanks to @lepennec (#122).
  • Tidier for estimated regressions from stm package thanks to @jefferickson (#115).
  • Tidier for correlated topic model from topicmodels package (#123).

tidytext 0.1.9

29 May 20:46
Compare
Choose a tag to compare
  • Updates to documentation (#109) thanks to Emil Hvitfeldt.
  • Add new tokenizers for tweets, Penn Treebank to unnest_tokens().
  • Better error message (#111) and code styling.
  • Declare dependency for tests.

tidytext 0.1.8

25 Mar 23:27
Compare
Choose a tag to compare
  • Updates to documentation (#102), README, and vignettes.
  • Add tokenizing by character shingles thanks to Kanishka Misra (#105).
  • Fix tests for skip grams thanks to Lincoln Mullen (#106).

tidytext 0.1.7

20 Feb 03:22
Compare
Choose a tag to compare
  • unnest_tokens can now unnest a data frame with a list column (which formerly threw the error unnest_tokens expects all columns of input to be atomic vectors (not lists)). The unnested result repeats the objects within each list. (It's still not possible when collapse = TRUE, in which tokens can span multiple lines).
  • Add get_tidy_stopwords() to obtain stopword lexicons in multiple languages in a tidy format.
  • Add a dataset nma_words of negators, modals, and adverbs that affect sentiment analysis (#55).
  • Updated various vignettes/docs/tests so package can build on R-oldrel.

tidytext 0.1.5

18 Nov 14:27
Compare
Choose a tag to compare
  • Change how NA values are handled in unnest_tokens so they no longer cause other columns to become NA (#82).
  • Update tidiers and casters to align with quanteda v1.0 (#87).
  • Handle input/output object classes (such as data.table) consistently (#88).

tidytext 0.1.4

30 Sep 17:20
Compare
Choose a tag to compare
  • Fix tidier for quanteda dictionary for correct class (#71).
  • Add a pkgdown site.
  • Convert NSE from underscored function to tidyeval (unnest_tokens, bind_tf_idf, all sparse casters) (#67, #74).
  • Added tidiers for topic models from the stm package (#51).

tidytext 0.1.3

19 Jun 16:42
Compare
Choose a tag to compare
  • get_sentiments now works regardless of whether tidytext has been loaded or not (#50).
  • unnest_tokens now supports data.table objects (#37).
  • Fixed to_lower parameter in unnest_tokens to work properly for all tokenizing options.
  • Updated tidy.corpus, glance.corpus, tests, and vignette for changes to quanteda API
  • Removed the deprecated pair_count function, which is now in the in-development widyr package
  • Added tidiers for LDA models from the mallet package
  • Added the Loughran and McDonald dictionary of sentiment words specific to financial reports
  • unnest_tokens preserves custom attributes of data frames and data.tables