addToDictionary = (win, word) => {
  return win.webContents.session.addWordToSpellCheckerDictionary(word)
}
Add the given word to the spellchecker dictionary.

@param {BrowserWindow} win The browser window.
@param {string} word The word to add.
@returns {boolean} Whether the word was added.