hyphenator

Crates.iohyphenator
lib.rshyphenator
version0.1.0
sourcesrc
created_at2024-04-19 13:24:12.068677
updated_at2024-04-19 13:24:12.068677
descriptionSimple library for segmenting words into syllables
homepage
repositoryhttps://github.com/d3z-the-dev/hyphenator
max_upload_size
id1213692
size14,156
d3z (d3z-the-dev)

documentation

README

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]);
}
Commit count: 2

cargo fmt