-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verify that youtube video matches the search term #39
Comments
Can you give me some examples? |
Sure, something like this:
http://stackoverflow.com/questions/5859561/getting-the-closest-string-match
The idea is to use Levenshtein distance to ensure that what the
track/artist that was searched for is a close match to what YouTube results
return
…-- Sathya
http://sathyabh.at | http://sbhat.me
On Wed, Apr 19, 2017 at 7:41 PM, avinassh ***@***.***> wrote:
Can you give me some examples?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABjUGUo5l4TSbQiB37SQjraczO4P0YIks5rxhYUgaJpZM4NBrAa>
.
|
How? For example, if user enters So task here is to generate strings based on some fixed Levenshtein distance (may be .9+) and search for those? |
That's one option - the other way of looking is to calculate the distance of what was searched vs what was returned from the search and if it's beyond a threshold then don't download it |
Before the algorithm is run, the title should be tested against a white and blacklist. For example titles like |
https://twitter.com/bsgreenb/status/853456868655587329
The text was updated successfully, but these errors were encountered: