Skip to content

Commit

Permalink
(the)
Browse files Browse the repository at this point in the history
  • Loading branch information
mi2ebi committed Dec 29, 2023
1 parent 11e6c5a commit 122ee81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 122ee81

Please sign in to comment.