- Incorporate clang-detected readability fixes readability-inconsistent-declaration-parameter-name and readability-const-return-type by @MichaelChirico
- Remove C++11 from SystemRequirements
- Remove LazyData from DESCRIPTION as there is no data to be lazy about
- Add plot example in README
- terms.data.frame now returns the 'terms' attribute if it is part of x and it is not null, otherwise it calls the previously implemented terms.data.frame, this is done in order to circumvent the assumption that stats::terms always calls stats:::terms.default on the output of model.frame (which is used o.a in the hardhat package). While one can debate over what stats::terms should return, note that the use of terms in the BTM package is mimicked from similar functionality in the terms function from the topicmodels NLP package.
- Fix -Wself-assign issue on fedora-clang
- Make example conditionally on availability of udpipe
- Added terms.data.frame
- Allow in BTM to return as well the biterms as the vocabulary using an extra argument called detailed. For compatibility with the textplot package.
- Added in the docs examples of plotting but put these in dontrun blocks to avoid package dependencies
- Allow to provide your own set of biterms to cluster upon
- Add URL in DESCRIPTION file
- Allow to get all biterms from the model using terms.BTM
- Get the likelihood of a biterm alongside the model
- Initial release based on BTM commit 66cc9b475afec81f3e74bb393b874b3fe5d5a148
- Contains functions BTM, predict.BTM and terms.BTM