From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: GNU Dico - Re: How to make Emacs popular again. Date: Thu, 1 Oct 2020 19:44:03 +0300 Message-ID: <20201001164403.GI4797@protected.rcdrun.com> References: <835z7vjrg3.fsf@gnu.org> <20201001140819.GN4797@protected.rcdrun.com> <20201001161307.GB4797@protected.rcdrun.com> <83h7rdhppo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14654"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.14.0 (2020-05-02) Cc: rms@gnu.org, jamtlu@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 01 18:48:54 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kO1lE-0003hn-TZ for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Oct 2020 18:48:52 +0200 Original-Received: from localhost ([::1]:44248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kO1lD-0005nm-U5 for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Oct 2020 12:48:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kO1gs-0001DX-OY for emacs-devel@gnu.org; Thu, 01 Oct 2020 12:44:24 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:33447) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kO1gm-0006IC-3T; Thu, 01 Oct 2020 12:44:22 -0400 Original-Received: from localhost ([::ffff:197.157.34.166]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000EDCAD.000000005F76075B.00004589; Thu, 01 Oct 2020 09:44:10 -0700 Content-Disposition: inline In-Reply-To: <83h7rdhppo.fsf@gnu.org> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/01 08:21:28 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:256886 Archived-At: * Eli Zaretskii [2020-10-01 19:42]: > > Date: Thu, 1 Oct 2020 19:13:07 +0300 > > From: Jean Louis > > Cc: rms@gnu.org, emacs-devel@gnu.org > > > > I prefer that Emacs dictionary function become adapted to use dico. > > Once again, I don't see any reason to use an external program for > these capabilities. Emacs is perfectly capable of talking to servers > using built-in features. Where did the server come from, whether it's > called dictd or dicod, doesn't matter. GNU Dico as server already offers wikimedia module that can use Wiktionary as source, and thus offer to users. So everything is solved from server side software, and it is already GNU project. We have been discussing what already exists: See: https://puszcza.gnu.org.ua/software/dico/modules.html >From page: ========== The package comes with the following database modules: dictorg This module provides full support for the format designed by the DICT development group. This is a de facto standard for DICT databases. A number of dictionary databases in this format are provided by the the FreeDict project. wordnet Provides search capabilities for WordNet -- a lexical database for the English language, created and maintained at the Cognitive Science Laboratory of Princeton University. gcide Interface to GNU Collaborative International Dictionary of English. outline Support for databases in Emacs outline format. This module is designed mostly as an example and for testing purposes. guile It is an abstract layer for interfacing with database modules written in Guile. Such databases are, for example, operational on Runasimi.org and Ellinika.gnu.org.ua. python It is an abstract layer for interfacing with database modules written in Python. mediawiki This module allows to use Wiktionary or Wikipedia as a dictionary database. The Dicoweb page offers several databases defined this way. The following modules provide additional lookup strategies: stratall A pseudo-strategy which returns all headwords, no matter what the search key was. substr This strategy matches arbitrary substrings anywhere in the headword. word Provides search strategies for matching separate words within headwords: word, first, and last. The word strategy matches a word anywhere in a headword. The first and last strategies match a word at the beginning or at the end of a keyword, correspondingly. nprefix Provides a variant of the prefix strategy which returns the specified range of matching headwords. metaphone2 Implements strategy based on Double Metaphone phonetic encoding algorithm. pcre Use Perl-compatible regular expressions for headword lookup. The following modules provide storage for user authentication databases: ldap An engine for using LDAP schemas to keep user authentication information. pam Implements user authentication via Pluggable Authentication Modules (PAM).