From 122ee81aa902dd1fbb6f16d9d6217cac431cdf39 Mon Sep 17 00:00:00 2001 From: berrymot Date: Fri, 29 Dec 2023 15:13:13 -0800 Subject: [PATCH] (the) --- scripts/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/src/main.rs b/scripts/src/main.rs index 9beeec5..e2d2621 100644 --- a/scripts/src/main.rs +++ b/scripts/src/main.rs @@ -43,7 +43,7 @@ impl Entry { s = Regex::new(r"^_|_$").unwrap().replace_all(&s, "").to_string(); s = Regex::new(r"_+").unwrap().replace_all(&s, "_").to_string(); // we get rid of obsolete words and non-experimental words have a vote boost anyway - s = s + " " + &self.pos.split(" ").nth(1).unwrap_or(&self.pos); + s = s + " " + self.pos.split(' ').nth(1).unwrap_or(&self.pos); if !self.selmaho.is_empty() { s = s + " " + &self.selmaho; }