describe_engines#
- scikitplot.cleanprompt.describe_engines(language='en', mode='auto', model=None, size='sm', check_assets=False)[source]#
Report every engine’s readiness, and what
modewould select.- Parameters:
- languagestr, default=’en’
Language code to report against.
- modestr, default=’auto’
The mode being asked about.
- modelstr, optional
Explicit spaCy model.
- sizestr, default=’sm’
Preferred spaCy model size.
- check_assetsbool, default=False
Also check NLTK’s data packages, which imports NLTK.
doctorpassesTrue.
- Returns:
- dict
JSON-safe report with one entry per engine, a
selectedlist, andready: whether every selected engine is ready.
- Parameters:
- Return type:
Notes
User notes. Per engine,
installed,language_supportedandassets_readyare the three conditions,readyis their conjunction, andremedyis the next step.usableis kept as a synonym ofready. The top-levelreadyisFalsewhen a selected engine is known not to be able to run, which is the casedoctormust not call healthy.
Gallery examples#
Cleanprompt Moderate: Policies, Entities, and the Vault’s Lifecycle
Cleanprompt Moderate: Policies, Entities, and the Vault's Lifecycle