|
From: | Juri Linkov |
Subject: | bug#56844: [PATCH] Refactor repunctuate-sentences to accommodate corner case. |
Date: | Sun, 31 Jul 2022 22:49:33 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>> It now gracefully handles the case when abbreviations such as e.g. or >> i.e. are used in sentences. > > [...] > >> + (regexp "\\([]\"')]?\\)\\([.?!]\\)\\([]\"')]?\\) >> +\\([\"')[:upper:]]\\)") > > I'm not quite sure I understand this patch. Are you changing this to > only consider punctuation that's followed by an upper-case character to > be sentence-end punctuation? It would be better to add such heuristics to repunctuate-sentences-filter, so anyone could customize it.
[Prev in Thread] | Current Thread | [Next in Thread] |