From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Let ispell use use multiple dictionaries stored in different files. Date: Sun, 8 Aug 2021 15:51:19 +0800 Message-ID: References: <874kc1i72n.fsf@zoho.eu> <87o8a8fuzv.fsf@zoho.eu> <87fsvkft1t.fsf@zoho.eu> <87bl68fs6l.fsf@zoho.eu> <877dgwfmv0.fsf@zoho.eu> <8735rkflj4.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29577"; mail-complaints-to="usenet@ciao.gmane.io" To: Emanuel Berg , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 08 09:51:58 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mCdbB-0007Q8-LT for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 08 Aug 2021 09:51:57 +0200 Original-Received: from localhost ([::1]:41888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCdbA-0000F5-8I for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 08 Aug 2021 03:51:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCdan-0000Ef-RM for help-gnu-emacs@gnu.org; Sun, 08 Aug 2021 03:51:33 -0400 Original-Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:44672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCdam-0006Nc-CN for help-gnu-emacs@gnu.org; Sun, 08 Aug 2021 03:51:33 -0400 Original-Received: by mail-lj1-x22c.google.com with SMTP id a7so18794237ljq.11 for ; Sun, 08 Aug 2021 00:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=5otKM4Ui5LZrdLxHJGMy8tVBrLVrMf4JTm6J7kzz7iA=; b=c1nAComaHl5b0sRBrF8y/J5f4f8yBReLFuw4upsxiljIZSzOaGSZKrCI4gTDQLC5ga AZExLRPnKHBQMKq+fe8Bni37Fpt433mLYONnq04yJ1D+XfglqiUuIru8BgUFVbLNH8e7 XV/43CEf7AFCqZqtsIo+sSzIUwYYATS2Q+3eJjYBa4T9MkYXkJwpevSjPX6ySwCqqRcd hpXq9wLryjyc5pGPKfeg84bmLDlfsO9ybDdgDi2Z5JXXAOVpJaJXj5lwBC9daTcGq8DF EzU1G/OkTD3MXBVb6sDJAZUvck+zwCnmRZwVVZsTXdQbhc9yUGkPhVygWHNNCkPi0R3s Vs4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=5otKM4Ui5LZrdLxHJGMy8tVBrLVrMf4JTm6J7kzz7iA=; b=ihaYLmKcEeKakMvqkrFpUZbY7skFVUrAOgJeNd2m+t9qSczxhyAD6uTEmdEuP2uOPf RPq4msuOHJuuwL4piormBAf+b6KyoLGqjUprmNcn8rFkU5yF3kuiO8gXwJMKarx2Oc4G FumCZYFE5a0U0+uu7+M1yqm19rh2JZC9OWrWRBaCi95jBSltUlat6Hxs3xqCdkJrR93J q/DSloF3lYjMujdEeGFRXY2TrUm2orwRC41GtnGN/SmUIU5c2qjpvTZ5lV60sseCftoQ 6821Qut5PI9lJbRfh/WcPVfKbgegvPkJxpXi7MRQzlc40/bUeR4TL8SQ+TCs+Zb+UrAF f8Og== X-Gm-Message-State: AOAM530USussRuKZ2+ns98kQjjCU57cuQs3RStvPnIwiBD7xT+wteWaE +2UMpmL7es500F0E4bibiQU0wFP8aXAH31R7qm4= X-Google-Smtp-Source: ABdhPJxYLe7zftVZvvUAa2eJfkrEBe+3QJudBGcerNDbAmFlerTvlI9Dcbmq3fLKnFhaMGazrIqIM0XWiVlbiAGiDEE= X-Received: by 2002:a05:651c:622:: with SMTP id k34mr11636358lje.481.1628409090553; Sun, 08 Aug 2021 00:51:30 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=hongyi.zhao@gmail.com; helo=mail-lj1-x22c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132413 Archived-At: On Sun, Aug 8, 2021 at 3:43 PM Hongyi Zhao wrote: > > On Sun, Aug 8, 2021 at 3:23 PM Emanuel Berg via Users list for the GNU > Emacs text editor wrote: > > > > Hongyi Zhao wrote: > > > > >> You can always sort a consecutive subset compare the result > > >> from the original file to see if it sorts the same way. > > >> I'm unsure it has to be sorted exactly the same way, I mean > > >> why? And how would that work? Just sort it :) > > > > > > I'm unsure too. Based on my tries, it seems that the results > > > obtained by default sort options works well in Emacs will > > > a decent response time. > > > > Then just start collecting every word list you can find. > > > > -insane isn't that insane. We can call the next one something > > more positive, perhaps. wamerican-healthy? > > Good, see the following more comprehensive way: > > 1. Generate the latest version of the insane word list using its > official tool [1]. > 2. git clone https://github.com/dwyl/english-words.git dwyl/english-words.git > 3. Generate the Webster_s_Unabridged_3.txt as I've said before. > 4. Combine all the above: > > $ sort -u ilius/Webster_s_Unabridged_3.txt > dwyl/english-words.git/words.txt en-wl/SCOWL-wl/words.txt -o > english-words-healthy Now, the total entries are as follows: $ wc -l english-words-healthy 841181 english-words-healthy Hongyi