Browse Source

remove apostrophes

boyska 4 years ago
parent
commit
86b9a60648
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main.rs

+ 1 - 0
src/main.rs

@@ -50,6 +50,7 @@ impl Iterator for Dictionary{
 fn line_to_word(l: String) -> String {
     let l = unidecode(&l);
     let l = l.to_lowercase();
+    let l = l.replace("'", "");
     l
 }