MCPcopy Index your code
hub / github.com/clips/pattern / suggest

Function suggest

pattern/text/en/__init__.py:160–163  ·  view source on GitHub ↗

Returns a list of (word, confidence)-tuples of spelling corrections.

(w)

Source from the content-addressed store, hash-verified

158 return tags
159
160def suggest(w):
161 """ Returns a list of (word, confidence)-tuples of spelling corrections.
162 """
163 return spelling.suggest(w)
164
165def polarity(s, **kwargs):
166 """ Returns the sentence polarity (positive/negative) between -1.0 and 1.0.

Callers

nothing calls this directly

Calls 1

suggestMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…