Returns a list of spelling suggestions for the given string.
(self, string)
| 1368 | return u(data) |
| 1369 | |
| 1370 | def spelling(self, string): |
| 1371 | """ Returns a list of spelling suggestions for the given string. |
| 1372 | """ |
| 1373 | s = self.answer("spell " + string, cached=True) |
| 1374 | s = re.findall(r"<a.*?>(.*?)</a>", s) |
| 1375 | return s |
| 1376 | |
| 1377 | def definition(self, string): |
| 1378 | """ Returns a dictionary definition for the given string. |