Crates.io | hyphenator |
lib.rs | hyphenator |
version | 0.1.0 |
source | src |
created_at | 2024-04-19 13:24:12.068677 |
updated_at | 2024-04-19 13:24:12.068677 |
description | Simple library for segmenting words into syllables |
homepage | |
repository | https://github.com/d3z-the-dev/hyphenator |
max_upload_size | |
id | 1213692 |
size | 14,156 |
hyphenator is a simple Rust library for segmenting words into syllables, using a simple vowel-consonant combination approach to split words into syllables.
To use the hyphenator, add this to your Cargo.toml
:
[dependencies]
hyphenator = "0.1.0"
use hyphenator::split;
fn main() {
let word = "Hyphenator";
let results = split(word);
println!("{:?}", results[0]);
}