Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8defb76

Browse files
author
skywind3000
committed
增加说明:模糊匹配,单词pos
1 parent8e4f684 commit8defb76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ fuse:pos = `n:46/v:54`
151151

152152
```python
153153
defstripword(word):
154-
return (''.join([ nfor nin wordif n.isalnum() ])).lower()
154+
return (''.join([ nfor nin wordif n.isalnum() ])).lower()
155155
```
156156

157157
CSV数据库虽然没有记录该字段,但每次加载到内存以后会自动为每个单词生成该字段,而 SQLite/MySQL 数据库则是建表的时候就包含该字段,插入单词时为该单词自动计算后插入,以后不在改变。

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp