syllables
Syllable estimation for Nim.
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:24 |
Tags
Installation
nimble install syllables
choosenim install syllables
git clone https://github.com/tonogram/nim-syllables
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| syllables | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/tonogram/nim-syllables |
|---|---|
| Homepage | https://github.com/tonogram/nim-syllables |
| Registry Source | nimble_official |
README
syllables
Syllable estimation for Nim, based on prosegrinder/python-syllables.
Installation
nimble install syllables
Usage
Syllables has only a single procedure: estimate(word: string): int
doAssert estimate("pneumonoultramicroscopicsilicovolcacoconiosis") == 17
doAssert estimate("Hi") == 1
doAssert estimate("Hello") == 2
doAssert estimate("Sphinx of black quartz, judge my vow.") == 8
doAssert estimate("Syllables") == 3
This is only an estimation. Do not expect it to be perfectly accurate.