Grammalecte  View Ticket

UUID: 10137c33f04460b8d7dc4e9d549a8a3581655340
Title/Titre: Signalize no punctuation
Status: Closed Type: Feature_Request
Severity/Gravité: Important Priority/Priorité: Immediate
Module: FR_Rules Resolution: Fixed
Modified/Modifié: 2019-02-04 19:30:11
Version(s): current
Comments / Commentaires :
anonymous // 2019-01-20 11:06:21 :
Hi,

Grammalect does not notice the miss of punctuation at the end of a sentence.

Example:

Pierre mange du pain

should be warned with the following indicators

Pierre mange du pain~~(need a final punctuation sign as ., ..., ? or !)

Thanks if it is possible..

PK

olr // 2019-01-21 09:33:01 :
It’s doable, but it can’t be done in many cases without false positives.
In the French language, we don’t add a dot at the end of a sentence if it’s a title.

And as there is no way for Grammalecte to know if the text is a title, we can only guess an ending punctuation is missing when there is another sentence before the last sentence in a paragraph.

With “C’est le matin. Pierre mange du pain”, we can assume it’s not a title.
With “Pierre mange du pain”, we don’t know if it’s a title.

olr // 2019-01-21 10:51:32 :
I created a new rule for this feature. But the option is deactivated by default.