Releases: vgherard/kgrams
Releases · vgherard/kgrams
kgrams 0.2.1
v0.2.0
v0.1.5
v0.1.2
kgrams 0.1.2
Overall Software Improvements
- The package's test suite has been greatly extended.
- Improved error/warning conditions for wrong arguments.
- Re-enabled compiler diagnostics as per CRAN policy (#19)
API Changes
verbose
arguments now default toFALSE
.probability()
,perplexity()
andsample_sentences()
are restricted to
accept onlylanguage_model
class objects as theirmodel
argument.
New features
as_dictionary(NULL)
now returns an emptydictionary
.
Bug Fixes
- Fixed bug causing
.preprocess
and.tknz_sent
arguments to be ignored inprocess_sentences()
. - Fixed previously wrong defaults for
max_lines
andbatch_size
arguments inkgram_freqs.connection()
. - Added print method for class
dictionary
. - Fixed bug causing invalid results in
dictionary()
with batch processing and
non-trivial size constraints on vocabulary size.
Other
- Maintainer's email updated