[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Let ispell use use multiple dictionaries stored in different files.
From: |
Hongyi Zhao |
Subject: |
Re: Let ispell use use multiple dictionaries stored in different files. |
Date: |
Sat, 7 Aug 2021 21:46:20 +0800 |
On Sat, Aug 7, 2021 at 8:41 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: Hongyi Zhao <hongyi.zhao@gmail.com>
> > Date: Sat, 7 Aug 2021 20:20:02 +0800
> >
> > On Ubuntu 20.04, I noticed that ispell use the following file as its
> > completion dictionary: "/usr/share/dict/words", which comes from
> > wamerican package:
> >
> > $ apt-file search /usr/share/dict/words
> > wamerican: /usr/share/dict/words
> >
> > But I want to know if ispell can use multiple dictionaries stored in
> > different files for this purpose.
>
> ispell-alternate-dictionary is a defcustom, so you can customized the
> value to point to any other file. But it must to be a single file.
Thank you for letting me know this restriction.
> Why do you need to use more than one file at once?
Say, use different files to store vocabulary of different disciplines.
> This file is not really used as a dictionary, it is used to complete words
> you type as
> replacements, or when you are looking for a word you cannot remember.
> It isn't a dictionary used by the speller for finding spelling
> mistakes.
Thank you for your explanation.
Regards
--
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province