You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue with 2 letter keywords is word boundaries are currently not considered.
So filtering ai will also hide videos with the words fair, fail, aided and so on. So you would experience a lot of videos set hidden incorrectly.
This behavior is always present with any keywords, but larger words have much less false positives.
I think the searching could check if the keyword match is not surrounded by any other letters, so fair would not be filtered, but @AI-123 and is AI dumb? would be filtered. Then the minimum keyword length could be removed. This has some nuances to correctly handle Unicode foreign letters, but it should be simple enough.
For the time being you can use ai (one space before, but not after), and it will hide all videos with ai except from videos where it's the first word of the title. It seems to hide almost all videos.
Of note, trailing spaces after keywords are removed to cleanup bad user input.
LisoUseInAIKyrios
changed the title
feat: keyword filter should allow two-letter word
feat(YouTube - keyword filter): Allow two letter keywords
Aug 28, 2024
LisoUseInAIKyrios
changed the title
feat(YouTube - keyword filter): Allow two letter keywords
feat(YouTube - Keyword filter): Allow two letter keywords
Aug 28, 2024
Feature description
No response
Motivation
use case: hide videos with "AI" in the title
Acknowledgements
The text was updated successfully, but these errors were encountered: