Skip to content

Commit a81281a

Browse files
author
Rob Speer
committed
use Numberbatch matches more in clue answering
1 parent acea69c commit a81281a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solvertools/search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def search(pattern=None, clue=None, length=None, count=20):
9191
slug = slugify(word)
9292
if length is None or length == len(slug):
9393
if pattern is None or pattern.match(slug):
94-
matches[slug.upper()] = weight * 100
94+
matches[word.upper()] = weight * 1000
9595
for i, result in enumerate(results):
9696
text = result['text']
9797
slug = slugify(text)

0 commit comments

Comments
 (0)