How to to make your dictionary auto-learn words?

If you change the same autocorrected word two times to the same manual correction using the Swipe up gesture (without adding it to the dictionary) it will automatically be added to your personal dictionary.