Crate meddl_translate

Source
Expand description

Translate German to (almost) perfect Meddlfrängisch.

§Usage

fn main() {
    println!("{}", meddl_translate::translate("Hallo"));
}

§Examples

$ cargo run --example hello
$ cargo run --example long-text

§Excluding words from being translated

"ignored": [
    "den"
]

Example containing an ignored word:

$ cargo run --example ignored

§Benchmark

$ cargo bench

You need to use Rust nightly for running the benchmark.

Functions§

translate
This function translates a string slice from German to Meddlfrängisch.