Closed Bug 1493920 Opened 6 years ago Closed 6 years ago

add words to en-us dictionary

Categories

(Core :: Spelling checker, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: ananuti, Assigned: ananuti)

References

Details

User Story

acetabular - adj
acetabulum - noun. concave surface of a pelvis.
‘acetabular wear total hip arthroplasty’
https://en.oxforddictionaries.com/definition/us/acetabular
https://en.oxforddictionaries.com/definition/us/acetabulum

affordance - Psychology. A property of an object or an aspect of the environment, especially relating to its potential utility, which can be inferred from visual or other perceptual signals; (more generally) a quality or utility which is readily apparent or available.
(used a lot with software design — what affordances does a new feature provide?)
https://en.oxforddictionaries.com/definition/us/affordance

arrestee - A person who has been arrested.
‘Only arrestees who had been detained for less than 48 hours were included in the study.’
https://en.oxforddictionaries.com/definition/us/arrestee

arthroplasty - Medicine. The surgical reconstruction or replacement of a joint.
‘Hip and knee arthroplasty is increasingly important to improving the quality of life for older adults with arthritis.’
https://en.oxforddictionaries.com/definition/us/arthroplasty

decisis - from "stare decisis" the legal principle that lets one case rest on the findings of previous cases.
‘In the present state of juristic opinion, I would not extend the doctrine of stare decisis any further.’
https://en.oxforddictionaries.com/definition/us/stare_decisis

ergodic, ergodicity - Mathematics. Relating to or denoting systems or processes with the property that, given sufficient time, they include or impinge on all points in a given space and can be represented statistically by a reasonably large selection of points.
https://en.oxforddictionaries.com/definition/us/ergodic
https://en.oxforddictionaries.com/definition/us/ergodicity

Attachments

(1 file, 2 obsolete files)

      No description provided.
Attached patch bug1493920.patch (obsolete) — Splinter Review
For the problematic word "hangry" in bug 1490541 comment 4:

> Coming back to the words added. "hangry" is of course an absolute no no, 
> since it will now allow the spelling mistake "hangry" instead of "hungry".

"hangry" is not misspelling of "hungry" at all, and in dictionary since the 90s. Different word, different meaning.

Oh, indeed, it's not tomayto, tomahto.


> Particularly bad since phonetically the "u" in "hungry" is pronounced as "a" (/ˈhʌŋɡri/).

"hangry" pronounced as /ˈhæŋɡɹi/, "hungry" as /ˈhʌŋ.ɡɹi/. Precisely not homophone.


So, I'm not gonna remove this word.
Attachment #9011729 - Flags: review?(ehsan)
User Story: (updated)
Attached patch bug1493920(1).patch (obsolete) — Splinter Review
Attachment #9011729 - Attachment is obsolete: true
Attachment #9011729 - Flags: review?(ehsan)
Attachment #9011731 - Flags: review?(ehsan)
(In reply to Ekanan Ketunuti from comment #1)
> Created attachment 9011729 [details] [diff] [review]
> bug1493920.patch
> 
> For the problematic word "hangry" in bug 1490541 comment 4:
> 
> > Coming back to the words added. "hangry" is of course an absolute no no, 
> > since it will now allow the spelling mistake "hangry" instead of "hungry".
> 
> "hangry" is not misspelling of "hungry" at all, and in dictionary since the
> 90s. Different word, different meaning.
> 
> Oh, indeed, it's not tomayto, tomahto.
> 
> 
> > Particularly bad since phonetically the "u" in "hungry" is pronounced as "a" (/ˈhʌŋɡri/).
> 
> "hangry" pronounced as /ˈhæŋɡɹi/, "hungry" as /ˈhʌŋ.ɡɹi/. Precisely not
> homophone.
> 
> 
> So, I'm not gonna remove this word.

It's true that "hangry" is a valid word and has been included in various English dictionaries for a long time.

The problem with including it in a spell checking dictionary, however, is the specific use case of such a dictionary, that is, spell checking.  If the user types hngry by mistake, right now Firefox suggests "hangry" before "hungry".  Right now our spell checker is very crude, for example it has no knowledge about the commonality of words, so it can't understand that while both of these suggestions are valid, the user almost certainly meant to type "hungry" not "hangry" so that should be suggested first.  And in most practical scenarios, users are probably not trying to type hangry at all, so suggesting it is more harmful than helpful.

Not including it, of course, has downsides too.  If the user types haangry a legitimate case could be made that they meant to type "hangry".  Also obviously not having the word in the dictionary means typing it would make it show up as misspelled.  In the ideal situation, our spell checker would be smart enough to know not to suggest uncommon spellings, but also to not mark them as misspelled.  But for now all we can do in these situations is to go for the lesser of the two evil and not include these types of less common words that are very similar to really common ones.  :-/

Based on this I think adding hangry was a mistake and we should remove it.
Attachment #9011731 - Flags: review?(ehsan) → review+
(In reply to :Ehsan Akhgari from comment #3)
> The problem with including it in a spell checking dictionary, however, is
> the specific use case of such a dictionary, that is, spell checking.  If the
> user types hngry by mistake, right now Firefox suggests "hangry" before
> "hungry".  Right now our spell checker is very crude, for example it has no
> knowledge about the commonality of words, so it can't understand that while
> both of these suggestions are valid, the user almost certainly meant to type
> "hungry" not "hangry" so that should be suggested first.  And in most
> practical scenarios, users are probably not trying to type hangry at all, so
> suggesting it is more harmful than helpful.

Not convincing, still. I definitely don't know if users type "hngry" they certainly meant to type "hungry" not "hangry".
Keywords: checkin-needed
(In reply to Ekanan Ketunuti from comment #4)
> (In reply to :Ehsan Akhgari from comment #3)
> > The problem with including it in a spell checking dictionary, however, is
> > the specific use case of such a dictionary, that is, spell checking.  If the
> > user types hngry by mistake, right now Firefox suggests "hangry" before
> > "hungry".  Right now our spell checker is very crude, for example it has no
> > knowledge about the commonality of words, so it can't understand that while
> > both of these suggestions are valid, the user almost certainly meant to type
> > "hungry" not "hangry" so that should be suggested first.  And in most
> > practical scenarios, users are probably not trying to type hangry at all, so
> > suggesting it is more harmful than helpful.
> 
> Not convincing, still. I definitely don't know if users type "hngry" they
> certainly meant to type "hungry" not "hangry".

For sure, this isn't a matter of certainty, it is a matter of making a good decision in the majority of the cases.  Based on that, one can make an educated guess based on which of the two words is more commonly used, and the balance is clear in this case.  (e.g. right now a Google search on hungry finds 680,000,000 results, but only 5,920,000 for hangry.)

Anyway, please let me know if you're not planning to write a patch for that one.  Thanks!
Well, I'll remove it.
Attachment #9011731 - Attachment is obsolete: true
Attachment #9011997 - Flags: review+
Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b4492a216eb0
Add words to en-US dictionary and remove the problematic word "hangry". r=ehsan
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/b4492a216eb0
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
(In reply to Ekanan Ketunuti from comment #6)
> Well, I'll remove it.

Thanks!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: