added dictionary of contractions

This commit is contained in:
Reed Esau
2014-01-19 22:11:24 -07:00
parent ae8ed3592e
commit 3e23210efd
3 changed files with 161 additions and 8 deletions

View File

@@ -14,7 +14,7 @@
_wordy_ is not a grammar checker. Nor is it a guide to proper word usage.
Rather, _wordy_ is a lightweight tool to assist writers in identifying
those words and phrases known for their history of misuse, abuse and
those words and phrases known for their history of misuse, abuse, and
overuse, at least according to usage experts.
For example, if _wordy_ highlights `moreover` in your document, a word for
@@ -163,7 +163,7 @@ seek to purge such loaded language from your writing.
```
You may find this dictionary useful in avoiding overuse of the many forms
of the verb to be.
of the verb to be, often found in overly-passive sentences.
### Colloquialisms, Idioms, and Similies
@@ -171,13 +171,15 @@ of the verb to be.
:TriteWordy
```
Dictionaries for uncovering the tired cliché.
Dictionaries for uncovering the tired cliché, including colloquial and
idiomatic phrases scraped from Wiktionary and Wikipedia.
### Miscellaneous
```
:SaidWordy
:OpineWordy
:AintWordy
:TimeWordy
```
@@ -186,15 +188,24 @@ A few dictionaries to serve specific needs.
If youre writing to be neutral, you will want to avoid editorializing
(_OpineWordy_) and loaded use of said (_SaidWordy_).
_TimeWordy_ finds where you are using general descriptions of time where
you could be more specific.
If youre writing formally, youll want to identify unintentional
contractions with _AintWordy_. A warning that its not yet capturing most
instances of “s”, such as “Joes not here.”
And finally, _TimeWordy_ finds where you are using general descriptions of
time where you could be more specific.
## See also
[Words To Avoid in Creative Writing][wa] - a brief guide to usage by
writer Cary Morton
[wa]: http://darlingmionette.deviantart.com/art/Words-To-Avoid-152886782
If you find this plugin useful, you may want to check out these others by
the same author:
* [vim-colors-pencil][cp] color scheme for Vim inspired by IA Writer
* [vim-colors-pencil][cp] - color scheme for Vim inspired by IA Writer
* [vim-lexical][lx] - building on Vims spell-check and thesaurus/dictionary completion
* [vim-litecorrect][lc] - lightweight auto-correction for Vim
* [vim-pencil][pn] - rethinking Vim as a tool for writers

140
data/en/contractions.dic Normal file
View File

@@ -0,0 +1,140 @@
# http://en.wikipedia.org/wiki/Wikipedia:List_of_English_contractions
# TODO how to capture NOUN's?
I'd/!
I'll/!
I'm/!
I've/!
Id/!
Ill/!
Im/!
Ive/!
ain't/!
aint/!
aren't/!
arent/!
can't/!
cant/!
could've/!
couldn't/!
couldnt/!
couldve/!
didn't/!
didnt/!
doesn't/!
doesnt/!
don't/!
dont/!
hadn't/!
hadnt/!
hasn't/!
hasnt/!
haven't/!
havent/!
he'd/!
he'll/!
he's/!
hed/!
hell/!
hes/!
how'd/!
how'll/!
how's/!
howd/!
howll/!
hows/!
isn't/!
isnt/!
it'd/!
it'll/!
it's/!
itd/!
itll/!
its/!
let's/!
lets/!
ma'am/!
maam/!
might've/!
mightve/!
must've/!
mustve/!
needn't/!
neednt/!
o'clock/!
oclock/!
shan't/!
shant/!
she'd/!
she'll/!
she's/!
shed/!
shell/!
shes/!
should've/!
shouldn't/!
shouldnt/!
shouldve/!
that'd/!
that's/!
thatd/!
thats/!
there'd/!
there's/!
thered/!
theres/!
they'd/!
they'll/!
they're/!
they've/!
theyd/!
theyll/!
theyre/!
theyve/!
wasn't/!
wasnt/!
we'd/!
we'll/!
we're/!
we've/!
weren't/!
werent/!
wed/!
well/!
were/!
weve/!
what'll/!
what're/!
what's/!
whatll/!
whatre/!
whats/!
when's/!
whens/!
where'd/!
where's/!
where've/!
whered/!
wheres/!
whereve/!
who'll/!
who's/!
wholl/!
whos/!
why's/!
whys/!
won't/!
wont/!
would've/!
wouldn't/!
wouldnt/!
wouldve/!
y'all/!
you'd/!
you'll/!
you're/!
you've/!
youd/!
youll/!
youre/!
youve/!
yall/!

View File

@@ -20,14 +20,16 @@ command -nargs=0 NoWordy call wordy#init({})
command -nargs=0 BeingWordy call wordy#init({ 'd': ['being',] })
command -nargs=0 JargWordy call wordy#init({ 'd': ['jargonese',] })
command -nargs=0 LazyWordy call wordy#init({ 'd': ['weak-and-lazy',] })
command -nargs=0 OpineWordy call wordy#init({ 'd': ['opinion',] })
command -nargs=0 ProblemWordy call wordy#init({ 'd': ['problematic',] })
command -nargs=0 PuffWordy call wordy#init({ 'd': ['puffery',] })
command -nargs=0 SaidWordy call wordy#init({ 'd': ['said-synonyms',] })
command -nargs=0 TimeWordy call wordy#init({ 'd': ['non-spec-time',] })
command -nargs=0 WeaselWordy call wordy#init({ 'd': ['weasel',] })
command -nargs=0 WordyWordy call wordy#init({ 'd': ['redundant',] })
command -nargs=0 OpineWordy call wordy#init({ 'd': ['opinion',] })
command -nargs=0 SaidWordy call wordy#init({ 'd': ['said-synonyms',] })
command -nargs=0 AintWordy call wordy#init({ 'd': ['contractions',] })
command -nargs=0 TriteWordy call wordy#init({ 'd': [ 'colloquial', 'idiomatic', 'similies',] })
command -nargs=0 Wordy call wordy#init({ 'd': [ 'being',