Published November 1, 2018
| Version v1.3.13
Software
Open
quanteda/quanteda: CRAN v1.3.13
Authors/Creators
- Kenneth Benoit1
- Kohei Watanabe2
- Haiyan Wang3
- Paul Nulty4
- Adam Obeng5
- Stefan Müller6
- Aki Matsuo7
- Christian Mueller1
- Benjamin Lauderdale8
- Will Lowe9
- Pablo Barberá8
- Tyler Rinker10
- Christopher Gandrud11
- Tom Paskhalis1
- nicmer
- mark padgham12
- lindbrook
- hofaichan
- etienne-s
- hotzeplotz
- Thomas J. Leeper
- Stas Malavin13
- Michael W. Kearney14
- Michael Chirico15
- Katrin Leinweber16
- 1. London School of Economics and Political Science
- 2. Waseda University
- 3. LSE
- 4. University of Cambridge
- 5. Columbia University, London School of Economics
- 6. Trinity College Dublin
- 7. Department of Methodology, London School of Economics
- 8. London School of Economics
- 9. Princeton University
- 10. Campus Labs
- 11. @zalando
- 12. @ATFutures
- 13. Soil Cryology Lab
- 14. @MUDSA
- 15. @myteksi
- 16. @TIBHannover
Description
Bug fixes and stability enhancements
- Fixed a bug causing incorrect counting in
fcm(x, ordered = TRUE). (#1413) Also set the condition thatwindowcan be of size 1 (formerly the limit was 2 or greater). - Fixed deprecation warnings from adding a dfm as docvars, and this now inmports the feature names as docvar names automatically. (related to #1417)
- Fixed behaviour from
tokens(x, what = "fasterword", remove_separators = TRUE)so that it correctly splits words separated by\nand\tcharacters. (#1420) - Add error checking for functions taking dfm inputs in case a dfm has empty features (#1419).
- For
textstat_readability(), fixed a bug in Dale-Chall-based measures and in the Spache word list measure. These were caused by an incorrect lookup mechanism but also by limited implementation of the wordlists. The new wordlists include all of the variations called for in the original measures, but using fast fixed matching. (#1410) - Fixed problems with basic dfm operations (
rowMeans(),rowSums(),colMeans(),colSums()) caused by not having access to the Matrix package methods. (#1428) - Fixed problem in
textplot_scale1d()when input a predicted wordscores object withse.fit = TRUE(#1440). - Improved the stability of
textplot_network(). (#1460)
- Added new argument
intermediatetotextstat_readability(x, measure, intermediate = FALSE), which ifTRUEreturns intermediate quantities used in the computation of readability statistics. Useful for verification or direct use of the intermediate quantities. - Added a new
separatorargument tokwic()to allow a user to define which characters will be added between tokens returned from a keywords in context search. (#1449) - Reimplemented
textstat_dist()andtextstat_simil()in C++ for enhanced performance. (#1210) - Added a
tokens_sample()function (#1478).
- Removed the Hamming distance method from
textstat_dist()(#1443), based on the reasoning in #1442. - Removed the "chisquared" and "chisquared2" distance measures from
textstat_simil(). (#1442)
Files
quanteda/quanteda-v1.3.13.zip
Additional details
Related works
- Is supplement to
- https://github.com/quanteda/quanteda/tree/v1.3.13 (URL)