Closed Bug 1672918 Opened 5 years ago Closed 5 years ago

Add words to en-US dictionary

Categories

(Core :: Spelling checker, task)

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: ananuti, Assigned: ananuti)

References

Details

Attachments

(3 files, 1 obsolete file)

No description provided.
Attached patch 00001-wip-bug-1672918.patch (obsolete) — Splinter Review

^
^
from bug 499593 comment 352 - 408.

I'll do the rest of it later.

Excellent, thanks.
I pushed it to phabricator on your behalf.

I think we could land this one now, don't you think?

(In reply to Sylvestre Ledru [:Sylvestre] from comment #4)

Excellent, thanks.
I pushed it to phabricator on your behalf.

I think we could land this one now, don't you think?

Testing failed with the word "subpoenable". I'll fix that in full patch, tomorrow maybe. :)

Sounds good! I really don't mind uploading/reviewing the patches for you!

Btw, how do you run tests for this? (I don't know :)

Just mv en-US.dic en-US.aff (optional) into firefox dictionaries folder (I do this with Firefox 62 because not yet bundled to om.ja (bug 1457321). easier for me to hack) and test it by hand.

Pasting all words into textarea. ^ ^

Oh ok, thanks :)
I thought we had automatic tests for this!

User Story: (updated)
User Story: (updated)
Attached file added-words.txt
Attachment #9183389 - Attachment is obsolete: true
Attachment #9183392 - Attachment is obsolete: true
Attached patch bug1672918.patchSplinter Review

patch for review

Attachment #9183437 - Attachment is patch: true
Attachment #9183392 - Attachment is obsolete: false

Ekanan, is it good to go ? :)

Yeah, it is, good to go. :)

I'm thrilled to see these words finally getting merged in! Thank you both so much!

Is there any energy to try to merge the 6k words from Merriam Webster's dictionary that are in this comment: https://bugzilla.mozilla.org/show_bug.cgi?id=499593#c407. The list includes every word added to their dictionary between 1920 and 2020 that isn't in Firefox (I checked manually, ugh).

I think adding all of these would go a LONG way towards fixing this issue once and for all so we don't have to rely on onesie-twosie patches like this one.

The main issue with the 6k words is that it doesn't have the /XXX annotations (ending with ed, ing, etc).

Maybe we could merge as it but I am not sure what we expect in term of quality

Attachment #9183392 - Attachment description: Bug 1672918 - Add words to en-US dictionary → Bug 1672918 - Add words to en-US dictionary r=sylvestre

Yes, dealing with that would be a huge undertaking. If there's a way to automate that, I could take a stab. I wouldn't want to do a perfect job, probably, but just a good enough job that we can land it without people being annoyed/confused/etc.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: