Sunday, February 14, 2016

Re: vim: thesaurus

With my warmest thanks to all those who replied to my question, I take the liberty of posting a sort of summary about "thesauri" and the like.

1. *ENGLISH ONLY*
1a. Spelling checkers
The internal spelling checkers are excellent -- several varieties of the language.

1b. Grammar checkers
As suggested by Russ <russurquhart1@verizon.net> I tried the grammar checker plugin for the LanguageTool grammar checker: http://www.vim.org/scripts/script.php?script_id=3223
Very good, even if a bit slow.

1c. Thesauri
Following the example posted by Nicola <nvitacolonna@gmail.com>, I checked the word "abbreviate" with 3 different options, and this is what I've got:

/PLUGIN FOR ONLINE THESAURUS/
http://www.vim.org/scripts/script.php?script_id=4588
Main entry: abbreviate
Definition: verb shorten
Synonyms: abridge, compress, abstract, clip, condense, contract, cut,
digest, encapsulate, pare, prune, reduce, summarize, trim, boil down, cut
back, cut down, cut off, cut out, get to the meat, put in a nutshell, take
out
Definition: verb cut short an activity
Synonyms: abort, truncate, curtail, restrict, stop short

/PLUGIN FOR AIKSAURUS/
https://github.com/slackhead/vim-vaiksaurus
written and suggested by David Woodfall <dave@dawoodfall.net>
=== void =====================
abbreviate, abridge, bowdlerize, censor, cross out, delete, edit, erase,
expunge, expurgate, kill, omit, rescind, rub out, strike off, strike
out, void
=== truncate =================
abbreviate, abridge, abstract, bob, boil down, compress, condense, crop,
curtail, cut back, cut down, elide, epitomize, foreshorten, mow, nip,
prune, reap, recap, recapitulate, shave, shear, snub, stunt, sum up,
summarize, take in, telescope, truncate
=== reduce ===================
abbreviate, abridge, censor, circumscribe, compact, compress, concentrate,
condense, congest, consolidate, constrict, contract, cram, curtail,
decrease, draw in, knit, limit, narrow, pucker, purse, reduce, restrict,
shorten, solidify, strangle, wrinkle

ONLINE THESAURUS (no plugin as far as I know)
http://trovami.altervista.org/en/sinonimi
Synonyms of abbreviate:
(verb) reduce
(verb) abridge, foreshorten, shorten, cut, contract, reduce, decrease, lessen, minify, expand (antonym)

Different offer -- all of them useful in their own way.

#############################################

2. *NOT ENGLISH OR MORE THAN ONE LANGUAGE*
2a. Spelling checkers
The internal spelling checkers are excellent. I frequently use several languages in the same document. For example, English, Latin, and Italian. Using the internal spelling checker (set set spelllang=en,la,it) it's all right.

2b. Grammar checkers
The plugin mentioned at (1b) is OK, because, if you do not set a particular language at installation time, the programme reads the current setting from /spelllang=/. Good if you are writing in ONE language, anyway.

2c. Thesauri
* Standalone: only English -- see above.
* Online: see the online thesaurus (no plugin as far as I know)
http://trovami.altervista.org/en/sinonimi -- works for 9 languages.

As a conclusion, since in my case the reason why I was using TexStudio (writing LaTeX) was the English thesaurus, but for anything else I prefer (g)vim + the LaTeX plugin, I see no reason to leave (g)vim and I find it superior for the ability of spelling checker in various languages in the same document.

If this document may be of some general interest, I can elaborate it and keep it updated.
Thank you as usual, guido (italy)


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: