---
title: "spellServer(_:didForgetWord:inLanguage:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsspellserverdelegate/spellserver(_:didforgetword:inlanguage:)"
---

# spellServer(_:didForgetWord:inLanguage:)

Notifies the delegate that the sender has removed the specified word from the user’s list of acceptable words in the specified language.

## Declaration

```swift
optional func spellServer(_ sender: NSSpellServer, didForgetWord word: String, inLanguage language: String)
```

## Parameters

- `sender`: The NSSpellServer object that removed the word.
- `word`: The word that was removed.
- `language`: The language of the removed word.

## Discussion

Discussion If your delegate maintains a similar auxiliary word list, you may wish to edit the list accordingly.

## See Also

### Managing the Spelling Dictionary

- [spellServer(_:didLearnWord:inLanguage:)](foundation/nsspellserverdelegate/spellserver(_:didlearnword:inlanguage:).md)
- [spellServer(_:suggestCompletionsForPartialWordRange:in:language:)](foundation/nsspellserverdelegate/spellserver(_:suggestcompletionsforpartialwordrange:in:language:).md)
- [spellServer(_:recordResponse:toCorrection:forWord:language:)](foundation/nsspellserverdelegate/spellserver(_:recordresponse:tocorrection:forword:language:).md)
