bharadwaj-raju / TextSuggest

MOVED: https://gitlab.com/bharadwaj-raju/TextSuggest
https://gitlab.com/bharadwaj-raju/TextSuggest
GNU General Public License v3.0
241 stars 20 forks source link

Show only custom words #45

Closed jjnilton closed 7 years ago

jjnilton commented 7 years ago

Is there a way to suggest only custom words instead of words from dictionaries?

I tried to manually remove dictionaries from /usr/share/textsuggest/dictionaries but it still shows many entries besides the ones from $HOME/.config/textsuggest/Custom_Words.txt.

bharadwaj-raju commented 7 years ago
  1. Remove English.txt from /usr/share/textsuggest/dictionaries/.
  2. Remove Extra_Words.txt from /usr/share/textsuggest/ (I should probably merge this into English.txt)
  3. Copy Custom_Words.txt to the former location of English.txt
  4. Remove ~/.config/textsuggest/Custom_Words.txt
  5. Whenever you need to add custom words, edit /usr/share/textsuggest/dictionaries/English.txt

I think I should add an option for this (--only-custom-words?).

jjnilton commented 7 years ago

Thanks! An option like that would be great!

bharadwaj-raju commented 7 years ago

--only-custom-words option added as of commit 5548e2870198.