1 unstable release

0.1.0 Apr 19, 2024

#11 in #syllable

Apache-2.0

6KB

hyphenator

hyphenator is a simple Rust library for segmenting words into syllables, using a simple vowel-consonant combination approach to split words into syllables.

Usage

To use the hyphenator, add this to your Cargo.toml:

[dependencies]
hyphenator = "0.1.0"

Example

use hyphenator::split;

fn main() {
    let word = "Hyphenator";
    let results = split(word);
    
    println!("{:?}", results[0]);
}

No runtime deps