-
Notifications
You must be signed in to change notification settings - Fork 0
Utilities and Troubleshooting
Bell Eapen edited this page Jan 29, 2026
·
1 revision
These flags are available across most crisp and crispt commands.
| Flag | Description |
|---|---|
--inp <dir> |
Input Directory. Folder containing your corpus.json. Defaults to crisp_input in many cases, but acceptable to always specify. |
--out <dir> |
Output Directory. Where to save results. If omitted, results are often just printed to terminal. |
--clear |
Clear Cache. Forces a reload of data, clearing any cached embeddings or models. Highly recommended when switching datasets. |
--verbose / -v
|
Verbose Mode. Prints detailed logs and debugging info. |
-
Cause: You ran a command without specifying
--source(for import) or--inp(for analysis). - Fix: Check your paths. Ensure you imported data first.
-
Cause: You tried to run
--kmeans,--regression, or similar commands without the ML extras. -
Fix: Install them:
pip install crisp-t[ml].
-
Cause: Running
crispviz --wordcloudwithout runningcrisp --topicsfirst. -
Fix: Ensure prerequisite analysis steps are done.
crispvizonly visualizes existing results.
- Cause: Caching.
-
Fix: Run your command with
--clear.
- Cause: Corrupt PDF or encrypted file.
-
Tip: Convert problematic PDFs to
.txtmanually and place them in the source folder.
-
Project Organization: Keep your raw data (
raw_source) separate from your processed corpus (crisp_input) and your analysis results (crisp_output). -
Incremental Analysis: Run one heavy analysis at a time (e.g., just
--topics) and save it, rather than running--nlp --mlall at once on huge datasets. -
Check IDs: Use
crisp --linkage idwhenever possible for precise matching between text and CSV data.