| NEWS | R Documentation |
News for Package 'sylly'
Changes in sylly version 0.1-6 (2020-09-19)
unreleased
this version is under development
fixed
hyphen(): fixed the automatic adjustment of hyph.max.token.length thatwas introduced with 0.1-1 but turned out to be broken, at least with R 4.x
changed
sylly:::kRp.hyphen.calc(): replaced a for loop withapply(), almost twiceas fast now (without caching)hyphen(): optimized processing speed, saves ~75% if your time nowdescribe(): the generic now provides the dots argument ("...") to allowadding further arguments by different methods
Changes in sylly version 0.1-5 (2018-07-29)
fixed
sylly:::sylly_langpack(): removed obsolete 'flattr_user' attribute
changed
session settings done with
set.sylly.env()or queried byget.sylly.env()are no longer stored in an internal environment but the global .Options;this also allows for setting defaults in an .Rprofile file usingoptions()vignette is now in RMarkdown/HTML format; the SWeave/PDF version wasdropped; it was also updated and has a new section on caching
sylly:::sylly_langpack(): updated the README.md templatesylly:::sylly_langpack(): removed "\dontrun{}" from generated examplesectionin the docs, improved the link format for classes, omitting the "-class"suffix
added
new functions
available.sylly.lang()andinstall.sylly.lang()tocomfortably install language packagesnew class object contructors
kRp_hyphen()andkRp_hyph_pat()can be usedinstead of new("kRp.hyphen", ...) etc.
Changes in sylly version 0.1-4 (2018-01-06)
fixed
set.hyph.support(): calloptimize.hyph.pattern()on"kRp.hyph.pat"classobjects to be added to the environment
Changes in sylly version 0.1-3 (2017-10-02)
changed
added a short example to the code generated by
sylly_langpack()added l10n repository to DESCRIPTION to fetch now suggested languagepackages sylly.de, sylly.en, and sylly.es; it's clear now that languagepackages won't be released on CRAN, so a dedicated repo was set up to host those
updated the README.md file to mention releases both via CRAN (stable) andreaktanz.de (development)
Changes in sylly version 0.1-2 (2017-09-12)
changed
first CRAN release
replaced status warnin in README.md with info on additional languagesupport
manage.hyph.pat()no longer orders patterns, which was rather useless
added
unit tests for all main functions and methods
removed
file ChangeLog_hyph_patterns.txt
Changes in sylly version 0.1-1 (2017-06-10)
changed
initial release
show(): method now only truncates the mid section of samples larger than15 wordsall.patterns: this internal cache object is now dynamically generatedwhen the package is loaded, which slows down the loading process but saves~6.5MB in package size
hyph.max.token.length: this object was moved into the internal .sylly.envenvironment and also defaults to max token length of 50, not 200; thatshould be enough, is much faster and can also be changed dynamically (see
set.sylly.env()below); manual changes shouldn't be needed, though, becausethe length is being adjusted automatically if needed; it was also renamedfrom hyph.max.word.length
added
sylly_langpack(): a private method to generate packages with additionallanguage support. it shouldn't be needed by regular users and is thereforenot exportedkoRpus2sylly(): a private function to convert old koRpus object filesinto sylly equivalentshyphen(): new option"as"to set the return value class, still defaultsto"kRp.hyph", but can also be"data.frame"or"numeric"new shortcut methods
hyphen_df()andhyphen_c()use different defaultsfor"as"read.hyph.pat(): now also reads from connections, e.g.,url()set.sylly.env(): now also supports"hyph.max.token.length"as an optionto manually set the maximum token length, affects the private object"all.patterns"(will be regenerated)
removed
all hyphenation patterns are now in their own package called syll.<lang>