What is the difference between "Learn" and "Ignore" in spell checkers

When right-clicking a word in Pages and Sublime Text, the user is offered to either "Learn" or "Ignore" the word.

What is the difference between learning and ignoring? To me it would seem the same, that the word is simply "accepted" by the spell-checker and not highlighted as incorrect (red) anymore.

But since it's two different choices, there's obviously a difference. Couldn't find information about this anywhere.


Solution 1:

"Learn" means you are teaching this word to the machine so it knows the word for the future and even suggests you the word if you type it slightly wrong in the future.

"Ignore" means that the machine still does not know the word, but does only not highlight it as wrong anymore in this specific case when you selected "ignore".

Solution 2:

By clicking learn it will add it to the dictionary. If you click ignore it will accept (ignore) it for the current text but not for any other (e.g. new) document.