瀏覽代碼

remove apostrophes

boyska 4 年之前
父節點
當前提交
86b9a60648
共有 1 個文件被更改,包括 1 次插入0 次删除
  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
 }