-
A few points:
- Diagonal calculation isn't effective with its use of caching vector-sized strings, specifically the target vector which needs to be flipped. It flips it multiple times because of how …
-
_Originally posted by Marce van Velden:_
Consider the folowing sourcetext
This is a sample text with a link
If this is sent to the tmserver i would like it to search for "This is a sample text with …
-
-
To prevent issues with unicode escaping or undefinable UTF-8 based nicknames, registration should only allow usernames match ``/^\w+$/``
-
Hi, i am using ListTrainer, and right after i train the bot response is what i expect with confidence 0.51, and when i run the same thing again with same question asked, i get confidence 0.
Here is m…
-
It's good to have descriptive variable names and values in the command line, but it's also useful to have their shorter counterparts available to save some typing.
So, we could accept `fx` (and/or `…
-
Maybe this requires help from an XOP. Or someone implementing one of the algos in https://en.wikipedia.org/wiki/Edit_distance.
-
Much easier to do that than figuring out the logic :smile:
-
hello, 非常感谢您的贡献!有幸阅读了您的源码,我对卡名匹配的环节提出如下建议:
考虑到ygo目前卡片数量是有限的,并且量级不大(短期内不超过20k),因此卡名信息可以直接载入到内存中,然后通过文本相似度(例如编辑距离)来进行匹配,如下:
```python
import time
import Levenshtein
target = "Blackwing - Sil…
-