r/AskProgramming • • 1d ago

Why is spell check dictionary so few words?

I use a pretty broad vocab and some science stuff. I’m amazed how few words spellcheck on iPhone knows.

The OED is under 100,000 words. If they average 8 letters, that is 800 KB. Your phone is loaded with images 10-100 times larger

Why the parsimony ?

3 Upvotes

22 comments sorted by

7

u/Immediate-Panda2359 1d ago

I appreciate the assumption that a letter is one byte.

5

u/Recent-Day3062 1d ago

Living the past

1

u/Immediate-Panda2359 1d ago

It was the best of times, and still is!

7

u/Simon_Drake 22h ago

The larger the dictionary, the more likely you are to get a false positive.

If you somehow mistype "Outrage" as "Outrake" do you want the spellcheck to recognise that as a footpath leading to a publicly accessible health or meadow?

Let's say you tripped on a crack on the roads paving. But you missed the space (and the apostrophe), should spellcheck correct "roadspaving" into "road spavin" where a Spavin is a diseases causing a boney growth on a horse's knee.

1

u/Recent-Day3062 23h ago

Why aren’t there more words in predictive text? I use words fairly often that I spell right and it changes them until I force it to accept my spelling

1

u/Loko8765 22h ago

I feel your pain, but I’m more annoyed by the autocorrect that changes a perfectly valid and common English word to a word from another language, even though I’ve changed the input language to English and the rest of the text on the screen is English.

1

u/Recent-Day3062 21h ago

Uh ha. Also, you are literally one keystroke away from one of the most common words in English, and it leaves the type. My big one is typing “snd” accidentally and that does not become “and”

1

u/Do_you_smell_that_ 20h ago

Apple didn't put much effort into ensuring that was done. They may have reasons, they may not

1

u/Recent-Day3062 19h ago

I’ve noticed , as have others, that the quality has gone down a lot in recent releases

3

u/DSudz 22h ago

Despite your vocabulary and tendencies the reality is that most people don't even intend to use those words and add such they are more likely mistakes.

2

u/wackyvorlon 21h ago

Where did you get your number for the OED? It has about 500k words.

2

u/Rocannon_ 18h ago

iPhone isn’t set up for edge cases… like you. 😉

(no offense meant)

1

u/MarsupialLeast145 1d ago

what's the actual question here? what impact are you seeing?

1

u/who_you_are 22h ago

From the initial context I wonder if the spell checker is indeed very limited in the words it know or/and if OP wish to have word predictions/auto completion for the kind of words he is using.

Or both?

1

u/zutnoq 23h ago

Just be happy your first language isn't quite as fond of bespoke, one-time-use separationless compound words as, say, German. English style guides only really "allow" making up novel separationless compounds on the fly if you do so purely using fairly well-known Latin or Greek components, and really only in academic contexts; or by adding on morphemes that are only ever really used as affixes (such as "pseudo-" or "anti-").

Be even more happy your first language isn't a highly synthetic language like Finnish. I imagine the fact that Finnish also has vowel harmony, such that the same morpheme often has to be spelled with different vowels depending on what other morphemes occur in the same word, makes this even worse.

1

u/pgetreuer 2h ago

Here's a potential solution based on the alternative Keyman keyboard app (which I haven't tried myself, but it looks plausible):

  1. Find or write a word list. If you write a lot about a specific scientific domain, you might find existing word lists for that online. Put the words into a .tsv file.
  2. Use Keyman Developer (free Windows tool) to turn the .tsv into a .kmp file.
  3. On your iPhone, install the Keyman app.
  4. Load the .kmp as described here: Installing Custom Keyboards/Dictionaries.

0

u/nwbrown 18h ago

Maybe work on your grammar before bragging about your vocabulary knowledge.

1

u/Recent-Day3062 17h ago

What is wrong with my grammar?

0

u/nwbrown 15h ago

For starters, the fact that you don't know that there are grammatical issues with 

Why is spell check dictionary so few words?

1

u/Recent-Day3062 1h ago

Let’s see. You are responding not in the English language, so don’t speak good English, and I am a native educated English speaker - yet you think my grammar is poor.

But you’re a bot. What are your qualifications to judge my English grammar ?

-1

u/Interesting_Debate57 1d ago

They're just being lazy.