https://github.com/Ankush-Chander/obsidian-smart-move-text
Organize text/links in file without a hassle
https://github.com/Ankush-Chander/obsidian-smart-move-text
naive-bayes-classifier obsidian-plugin productivity text-classification
Last synced: 4 months ago
JSON representation
Organize text/links in file without a hassle
- Host: GitHub
- URL: https://github.com/Ankush-Chander/obsidian-smart-move-text
- Owner: Ankush-Chander
- License: mit
- Created: 2024-06-05T12:40:56.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-06-24T10:32:37.000Z (10 months ago)
- Last Synced: 2024-11-29T22:45:37.965Z (5 months ago)
- Topics: naive-bayes-classifier, obsidian-plugin, productivity, text-classification
- Language: TypeScript
- Homepage:
- Size: 412 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- jimsghstars - Ankush-Chander/obsidian-smart-move-text - Organize text/links in file without a hassle (TypeScript)
README
# Smart Text Mover
Smart text mover helps in organizing text/external links in files by making smart suggestions around the headings under
which the text can be moved. It supports three modalities:1. No classification: List target sections based on their position in the file
2. LLM classification: List most likely target sections by using LLMs(gpt3.5 etc). Handy when you don"t have enough data
in file.
3. Naive bayes classifier(recommended): List most likely target sections by using Naive Bayes classifier. Self improves
as you use it
more and more.### Demo
#### Move text in file
#### Settings
### How it works
Select line you want to move else where in the file and invoke "smart-text-mover". It suggest headings under which it
can be moved sorted by their proximity to the selected text. This proximity is calculated using a lightweight classical
machine
learning algorithm called ([Naive Bayes Classifier](https://en.wikipedia.org/wiki/Naive_Bayes_classifier)). It does so
by examining existing words distribution under different headings and then ranking them based on that. This ranked list
of target location allows user to easily move/organize text in the file. Example usage includes sorting bookmarks based
on different categories. Performs best when used with [url-namer](https://github.com/zfei/obsidian-url-namer)### For development
#### Compilation
1. Clone this repo inside path/to/your/dev/vault/.obsidian/plugins.
2. npm i or yarn to install dependencies
3. npm run build to compile, or npm run dev to start compilation in watch mode.### Quick Installation
Search for `smart-text-mover` in obsidian community plugins and click install.
or
follow the [installation link](https://obsidian.md/plugins?id=smart-text-mover).[//]: # (### Changelog)
### Checklist
- [x] First release
- [ ] Add bulk classifier[//]: # (### Support)