From 8defb761f7c7ad1818ca94290a1844d7b33d6b23 Mon Sep 17 00:00:00 2001 From: skywind3000 Date: Sun, 20 May 2018 17:59:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AF=B4=E6=98=8E=EF=BC=9A?= =?UTF-8?q?=E6=A8=A1=E7=B3=8A=E5=8C=B9=E9=85=8D=EF=BC=8C=E5=8D=95=E8=AF=8D?= =?UTF-8?q?pos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4f942db..f314745 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ fuse:pos = `n:46/v:54` ```python def stripword(word): - return (''.join([ n for n in word if n.isalnum() ])).lower() + return (''.join([ n for n in word if n.isalnum() ])).lower() ``` CSV数据库虽然没有记录该字段,但每次加载到内存以后会自动为每个单词生成该字段,而 SQLite/MySQL 数据库则是建表的时候就包含该字段,插入单词时为该单词自动计算后插入,以后不在改变。