I am using text-processing-rs 0.2.1
use text_processing_rs::normalize_sentence;
fn main() {
let normalized_text = normalize_sentence("Give me a second to check."); // Give me a 2nd to check.
println!("{normalized_text}");
}
I expect it stays Give me a second to check.
Just logging a case where the library converts second to 2nd when it should not.
I am not sure how to handle this without using a model, but wanted to document it here.
Thanks! 😊
I am using text-processing-rs 0.2.1
I expect it stays
Give me a second to check.Just logging a case where the library converts second to 2nd when it should not.
I am not sure how to handle this without using a model, but wanted to document it here.
Thanks! 😊