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,availableisFalseandmissinglists every package.
- Return type:
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 duringimport scikitplot.cleanprompt.