📦 deps(skills): sync thirdparty skills

This commit is contained in:
ci[bot]
2026-06-21 16:02:42 +00:00
parent e46a4a192c
commit 1d4a92f874
4 changed files with 77 additions and 75 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ class BM25:
def tokenize(self, text):
"""Lowercase, split, remove punctuation, filter short words"""
text = re.sub(r'[^\w\s]', ' ', str(text).lower())
return [w for w in text.split() if len(w) > 2]
return [w for w in text.split() if len(w) >= 2]
def fit(self, documents):
"""Build BM25 index from documents"""