preservim / vim-wordy

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

Externalize the Word Lists as Structured Data #20

Open kemitchell opened 8 years ago

kemitchell commented 8 years ago

Greetings, fellow writing tools wonk! Big fan of this plugin.

@anseljh and I are lawyers working on a variety of tools to help us draft contracts in a more approachable, understandable style. As part of that, we've come up with a couple data files right in the spirit of the .dic files here:

  1. https://github.com/kemitchell/american-legal-archaisms
  2. https://github.com/kemitchell/wordy-words

I'll definitely convert some of your .dic files for our open-source contract drafting software (https://commonform.github.io), too. I see the MIT license --- thanks for making open source! --- but thought I'd mention, if only to be courteous.

Related: Might you take a pull request to build the .dic files for vim-wordy from structured data tracked in a separate repo? Build steps are kind of a pain, I know, but I'd like to consolidate our efforts. The lists we've created have tended to grow a word or two at a time, as we spot new candidates in our day-to-day. The more folks looking, the better.

Again, thanks for vim-wordy! Really excited to make it part of my everyday Vim.

reedes commented 8 years ago

A consolidated and structured repo for the word/usage data is an excellent idea. I can see it used by other editor and word processing software, as an example.

It's easy enough for me to write a script that will pull the data into the wordy plugin code and format it to Vim's needs.

Also, I have additional word lists yet to be added to wordy that may be of interest, such as lists of adverbs and adjectives.

kemitchell commented 8 years ago

@reedes, this is wonderful. Let's work together!

Would like to create a few public repositories under your account for the various word lists? I will be happy to PR the initial conversion --- to the extent any is needed --- and introduce the build/release rigging @anseljh and I could use in the JavaScript world.

reedes commented 8 years ago

Sure, I can create the public repositories and grant you and @anseljh access. What names do you suggest? structured-word-lists?

kemitchell commented 8 years ago

That'd be great. Perhaps we can go one list at a time?

The name is up to you. Anything descriptive will work for me.

reedes commented 8 years ago

Apologies for the delay. I've created the repo and added you as contributors.

But I see that you've already forked.

I've guessed at an organization which may or may not be ideal. Feel free to move things around.

I'll start adding the wordy lists over the next few days.

kemitchell commented 8 years ago

No apologies necessary! Thanks for the effort.

reedes commented 8 years ago

Wordy's lists ported over to structured-word-lists, with some planned ones added.

See what you think of how I've structured the lists. I'm open to alternatives.

It'll be at least a few weeks before I'll script the generation of the wordy dictionaries.

kemitchell commented 8 years ago

Awesome! Thanks so much.