Skip to main content

borrows

Function borrows 

Source
fn borrows(
    raw: &[String],
    words: &[String],
    brand: &str,
    domains: &[String],
    service: &[String],
) -> bool
Expand description

Whether a name claims an everyday brand: its words are there, one after the other or run together, and every other word of the name is a word of a service (service, skeletons: “Support”, “Service client”, “Infos”), a number (“Microsoft 365”), or a label of the brand’s own domains (“Amazon.com”, “PayPal.fr”). The brand’s name standing among other words (“Orange County Library”, “Apple Pie Bakery”, “Café de la Poste”) is someone else’s name. raw: the name’s words as written; words: their skeletons.