giellalt / bugzilla-dummy

0 stars 0 forks source link

Recognise smileys in grammarchecker (Bugzilla Bug 2612) #1764

Closed albbas closed 4 years ago

albbas commented 4 years ago

This issue was created automatically with bugzilla2github

Bugzilla Bug 2612

Date: 2019-10-09T11:51:42+02:00 From: Børre Gaup <> To: Sjur Nørstebø Moshagen <> CC: linda.wiechetek, sjur.n.moshagen, thomas.omma, trond.trosterud, unhammer+apertium

Last updated: 2019-10-31T12:43:17+01:00

albbas commented 4 years ago

Comment 13731

Date: 2019-10-09 11:51:42 +0200 From: Børre Gaup <>

Now we get space errors when sending smileys through the grammarchecker

$ echo ":)"|divvun-checker -l se|jq . { "errs": [ [ ")", 1, 2, "no-space-after-parent-end", "Ii leat gaska ovdal dehe maŋŋil ruođu \")\"", [], "Gaska váilu" ] ], "text": ":)" }

$ echo ":-)"|divvun-checker -l se|jq . { "errs": [ [ ":-", 0, 2, "no-space-after-punct-mark", "Ii leat gaska \":\" maŋis", [ ": -" ], "Sátnegaskameattáhusat" ] ], "text": ":-)" }

albbas commented 4 years ago

Comment 13798

Date: 2019-10-31 12:43:17 +0100 From: Sjur Nørstebø Moshagen <>

Fixed in svn rev 184723:

$ echo ":)"|divvun-checker -a tools/grammarcheckers/se.zcheck | jq . { "errs": [], "text": ":)" } $ echo ":-)"|divvun-checker -a tools/grammarcheckers/se.zcheck | jq . { "errs": [], "text": ":-)" } $ echo "🙂" | divvun-checker -a tools/grammarcheckers/se.zcheck | jq . { "errs": [], "text": "🙂" }