corpora_status#

scikitplot.cleanprompt.corpora_status()[source]#

Report whether NLTK’s data packages are present.

Returns:
dict

{"available": bool, "missing": [...], "install_hint": str}. When NLTK itself is absent, available is False and missing lists every package.

Return type:

dict[str, Any]

Notes

Developer notes. Used by doctor. Importing NLTK here is acceptable because the caller has already decided to ask about NLTK specifically; it is never called during import scikitplot.cleanprompt.