Skip to content

Insert backlinks to markdown documents by using sklearn and cosine similarity.

License

Notifications You must be signed in to change notification settings

kgourgou/machine-learning-zettelkasten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Model-based zettelkasten

I was reading about the zettelkasten method of taking notes recently. Taking some time to think about connections between different notes seems to me to be quite useful in order to generate new ideas. However, I'm quite lazy at this point to go through my archive of markdown notes and connect them to each other. NLP to the rescue!

This code uses sklearn and cosine similarity to insert backlinks to a collection of markdown files. Presto -- automatic zettelkasten!

The code is simple and run_me.py is the main script. Be sure to change the paths to where you have your docs.

This code overwrites the original markdown documents with no backup. Be sure to backup your docs before using.

I haven't tested a lot, so expect bugs.

About

Insert backlinks to markdown documents by using sklearn and cosine similarity.

Topics

Resources

License

Stars

Watchers

Forks

Languages