Tuesday, January 12, 2016

Re: Make vim use hunspell?

Metal Heart wrote:

> Hi users and experts,
>
> I am aware vim has it's own spellchecker, and uses .spl files that can
> be generated by mkspell from hunspell dictionary files.
>
> Here's the thing - I am trying to use same spellchecking files for
> vim, Libreoffice, and OmegaT (an opensource translation memory
> system), as I don't want to maintain two sets of dictionaries.
>
> Libreoffice and OmegaT support hunspell dictionaries only.
>
> Is there any chance of either:
> - getting vim to read and write hunspell dictionaries (IIRC vim
> doesn't completely support the format),

Vim originally had the goal to support the same file format.
Unfortunately the hunspell developers went ahead and implemented some
weird features, partly including language-specific things in the source
code. And quite a few of the flags are not properly documented, making
it very difficult to follow their file format. It requires reverse
engineering their code.

> - or making vim use the external huspell spellchecker (instead of its
> internal one)?

That would be too slow. Also, the suggestions from Vim are far
superiour (last time I checked, which is quite a while ago).

> I would greatly appreciate any pointers. A systemwide spellchecker
> would be so useful, especially as I want several colleagues to all use
> and modify the same directories. It would improve our writing! :-)

I would invite anyone to work on this.

--
"I've been teaching myself to play the piano for about 5 years and now write
most of my songs on it, mainly because I can never find any paper."
Jeff Lynne, ELO's greatest hits

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
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:

Post a Comment