On 2016-02-12 18:04:09 +0000, Nicola said:

On 2016-02-12 14:16:50 +0000, Nicola said:

Another possibility is to download an .oxt file, change the suffix to
.zip, uncompress it, and open the thesaurus .dat file (it is a text
file). I have taken a quick look at one of them, and it should not be
too hard to turn it into a format usable by Vim: removing the first
line and the parts in parentheses should be enough.

Mmh, not so fast. Each entry in a .dat file has this form:

abbreviate|2
(verb)|reduce (generic term)
(verb)|abridge|foreshorten|shorten|cut|contract|reduce|...

Another idea: one might set completefunc to call a function that searches
a file in the above format. Such function might even use the associated
.idx file for faster retrieval.

Nicola


--
--
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to