Hyphenation and Syllable Counting for Text Analysis
Overview
Provides the hyphenation algorithm used for 'TeX'/'LaTeX' and similar software, as proposed by Liang (1983, https://tug.org/docs/liang/). Mainly contains the function hyphen() to be used for hyphenation/syllable counting of text objects. It was originally developed for and part of the 'koRpus' package, but later released as a separate package so it's lighter to have this particular functionality available for other packages. Support for various languages needs be added on-the-fly or by plugin packages (https://undocumeantit.github.io/repos/); this package does not include any language specific data. Due to some restrictions on CRAN, the full package sources are only available from the project homepage. To ask for help, report bugs, request features, or discuss the development of the package, please subscribe to the koRpus-dev mailing list (http://korpusml.reaktanz.de).
fixed
- docs were fixed, mostly replacing "\itemize" with "\describe". thanks to emanuel ciardullo for the pull request!
changed
hyphen(): syll.distrib of the desc slot now fills up missing syllables with 0 values. thanks to jana ludwig for reporting bogus results ofkoRpus::SMOG()for texts with only multisyllable words. this led to discovering the issue!- kRp.hyphen/kRp.hyph.pat: replaced
prototype()in class definition with initialize methods
From inst/NEWS.Rd in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 15includes a package overview page
- Examples that run
- 17%2 run in a plain check · 10 never run
- Exported functions with examples
- 83%
- Documented parameters
- 100%
- Return-value docs
- 67%
- Help pages citing references
- 20%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 142
Stars over time
Forks over time
PRs over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/undocumeantit/sylly on 2026-10-21.
GitHub Pages site last deployed 2017-09-27
Dependencies
Installing sylly adds no packages beyond those that come with R.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.1-7Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.1-62020-09-20 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.1-52018-07-29 · diff ↗ ·
added 4 exports
available.sylly.lang, install.sylly.lang, kRp_hyph_pat, kRp_hyphen - RR 3.5.0 released · 2018-04-23
- 0.1-42018-01-06 · diff ↗
- 0.1-32017-10-03 · diff ↗
- 0.1-22017-09-12
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-09-12
- Total releases
- 6 / 9 yrs
- License
- GPL (>= 3) OSI
- Additional repositories
- undocumeantit.github.io
- Minimum R
- ≥ 3.0.0
- Download size
- 66 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("sylly")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.