use crate::cleanup::{deterministic_light, Level};
use crate::format::Formatter;
pub(crate) struct Faithful;
impl Formatter for Faithful {
fn format(&self, _l: Level, text: &str) -> String { deterministic_light(text) }
}
pub(crate) struct OverEditing;
impl Formatter for OverEditing {
fn format(&self, _l: Level, text: &str) -> String {
format!(" {} ", text)
.replace(" love ", " hate ")
.replace(" always ", " never ")
.replace(" should ", " shouldn't ")
.replace(" good ", " bad ")
.replace(" not ", " ")
.trim().to_string()
}
}