preservim / vim-wordy

Uncover usage problems in your writing
Other
716 stars 23 forks source link

How to add new rules of dictionary? #30

Open vanabel opened 5 years ago

vanabel commented 5 years ago

In the issue Support for TeX/LaTeX files , I find that the actually work/function I need to do is add an new rules of dictionary for scientific writing, for e.g., I would like to add the ten rules mentioned here. I try to create a sciwrt.dic as follows:

#https://www.scribendi.com/advice/academic_phrases_your_writing_doesnt_need.en.html
/encoding=utf-8
On the other hand/!
In order to/!
Indeed/!
However\|moreover\|furthermore/!
As well as/!
For a short\|long period of time/!
By using/!
Due to the fact that/!
In relation to/!
In the event that/!

My questions are:

  1. How to make this file work with the command Wordy sciwrt?
  2. I want the rule works with ignoring the capital letter, which means, On the other hand/! will also mark on the other hand as a possible improvement.
  3. Can I use the regular expression in the rule? such asHowever\|moreover\|furthermore/! will find However, moreover and furthermore in a single rule. Otherwise, I need to split it into three independent one.
  4. Can I provide some suggestion for the word? I mean, if we use ]s to jump to a new suggestion, then can we use z= or something to give some suggestion/explanation of this improvement?