No description
Find a file
2024-05-08 15:01:01 +02:00
src fix schmfy breaking on non ext-ascii characters 2024-05-08 15:01:01 +02:00
.gitignore Initial commit 2023-07-07 11:19:14 +02:00
Cargo.toml Increment version 2023-10-24 15:55:24 +02:00
README.md Fix README 2023-10-24 15:53:46 +02:00

Schmfy library

This library is able to schmfy any text.

Usage

Example usage:

use schmfy::schmfy;

fn improve_text(text: &str) {
    let improved_text = schmfy(text);
    println!("Old and boring: {}", text);
    println!("Improved and great: {}", improved_text);
}

Capabilities

The schmfication capabilities are able to preserve text case and any non-alphabetical characters. If a non-alphabetical character is between two alphabetical strings, both of the alphabetical strings will be interpreted as completely separate words.

For example, the HTML code <span>Entry<br></span> will be converted into <schman>Schmentry<schmer></schman>.