From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Van L Newsgroups: gmane.emacs.help Subject: detect sentence/paragraph ending (was: refill paragraph but visually (like visual-line-mode)?) Date: Tue, 16 Oct 2018 13:26:28 +1100 Message-ID: References: <87y3azpn61.fsf@portable.galex-713.eu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1539656777 531 195.159.176.226 (16 Oct 2018 02:26:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2018 02:26:17 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 16 04:26:13 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCF3l-0008Ty-6V for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Oct 2018 04:26:13 +0200 Original-Received: from localhost ([::1]:55685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCF5r-0005C3-Ng for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Oct 2018 22:28:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCF4M-0004dU-PO for help-gnu-emacs@gnu.org; Mon, 15 Oct 2018 22:26:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCF4J-0006vn-Jo for help-gnu-emacs@gnu.org; Mon, 15 Oct 2018 22:26:50 -0400 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:51853) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gCF4H-0006hU-1Z for help-gnu-emacs@gnu.org; Mon, 15 Oct 2018 22:26:45 -0400 Original-Received: from epi.local (14-203-214-4.tpgi.com.au [14.203.214.4]) (Authenticated sender: van@scratch.space) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 6A445240002 for ; Tue, 16 Oct 2018 02:26:33 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3124) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.178.230 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118272 Archived-At: > The main difficulty here is that to do a proper refill, you need to = find > the paragraph boundaries and there's no reliable rule for that (only > heuristics and conventions), so doing it 100% automatically tends to > come with warts and all (which is why refill-mode only performs the > refill for the paragraphs which you do edit, for example). Can Deep Learning and Machine Learning be leveraged to automatically = detect 99.999% cases based on crowd sourced examples and deciders = collected in test/lisp/progmodes, test/lisp/textmodes? Those files will have templates like Org Mode=E2=80=99s example and = result block which people append to as they come across an OddOne=E2=84=A2= which then feed into DL, ML to produce the necessary regexp (and rx) = expressions.=