-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Feature: apply links based on Levensthein-distance #531
Comments
Thanks! Really looking forward to this one. Happy to serve as a tester. |
Hi @matboehmer ! |
Thanks, great! How can I run the code using npx or any other way? I am not sure if |
@matboehmer
|
Thanks, got it! However, it does not work for me. It seems like |
hm... it is iterated through the recognized links and replaces the link URLs everywhere in the notes folder. Let me check. |
It's hard to create a real test for multiple links, the Evernote fails to sync for me currently. So it will take a bit of time, sorry. |
@matboehmer could you pls give it a try via the UI? |
Same result; also does not work using the app UI. Does it work for you? Do you have some test data you could share? |
Yes yes, here is the enex I use for testing: |
It works for me with your data set, but not with the one I postet here #530 (comment) |
I think that one, what you shared in the comment reflects a different issue which cannot be resolved easily. |
In my example data in #530 (comment) the wrong link is created as |
@matboehmer , |
Great, thank you! Works perfectly now on my test data set and already really good on my real data set. Thank you very much for adding this feature! |
matboehmer's great idea is, in order to increase the number of the recognizable chains between links two end, that Yarle could try to do it by calculating a Levensthein distance between the text of the link and the existing notes' title created and apply the link to the minimal one.
If more than one notes has minimal distance, based on another setting Yarle could do the followings:
As an MVP I would implement case 3.
The text was updated successfully, but these errors were encountered: