1 unstable release
0.1.0-alpha | Oct 14, 2023 |
---|
#3 in #webster
7KB
Merriam Webster Transformers
Parsers and transformers for non-standard text markup in Merriam-Webster's Collegiate Dictionary API
Example
Coming Soon
use merriam_webster_transformers::{parse_string, transformers::Markdown};
let input = "{it}monitors{\/it} and instructors for troops green in the art of war";
let parsed = parse_string(input.to_string())?;
let transformed = Markdown::transform(parsed)?;
println!("{transformed}");
// *monitors* and instructors for troops green in the art of war
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~1MB
~18K SLoC