---
title: "unlearnWord(_:)"
framework: uikit
role: symbol
role_heading: Type Method
path: "uikit/uitextchecker/unlearnword(_:)"
---

# unlearnWord(_:)

Tells the text checker to unlearn the specified word.

## Declaration

```swift
class func unlearnWord(_ word: String)
```

## Parameters

- `word`: A string representing the word for the class to unlearn.

## Discussion

Discussion When a UITextChecker object unlearns a word, it is removed from the dictionary.

## See Also

### Learning and Ignoring Words

- [ignoreWord(_:)](uikit/uitextchecker/ignoreword(_:).md)
- [ignoredWords](uikit/uitextchecker/ignoredwords.md)
- [learnWord(_:)](uikit/uitextchecker/learnword(_:).md)
- [hasLearnedWord(_:)](uikit/uitextchecker/haslearnedword(_:).md)
