Returns the given list of words filtered by known words.
(self, words=[])
| 1764 | return set(e2 for e1 in self._edit1(w) for e2 in self._edit1(e1) if e2 in self) |
| 1765 | |
| 1766 | def _known(self, words=[]): |
| 1767 | """ Returns the given list of words filtered by known words. |
| 1768 | """ |
| 1769 | return set(w for w in words if w in self) |
| 1770 | |
| 1771 | def suggest(self, w): |
| 1772 | """ Return a list of (word, confidence) spelling corrections for the given word, |