Skip to content

CLI

The skeinrank CLI is the most direct way to test a company dictionary locally.

Terminal window
skeinrank validate-dictionary company_dictionary.json
skeinrank validate-dictionary company_dictionary.json --json
Terminal window
skeinrank extract "k8s rollout uses pg database" \
--text \
--dictionary company_dictionary.json

Useful flags:

  • --compact for smaller JSON output
  • --max-matches to bound output size
  • --context-chars to control highlight context
  • --output to write results to a file
Terminal window
skeinrank extract incident-runbook.md \
--dictionary company_dictionary.json

Supported lightweight formats include text-like files, Markdown, logs, CSV/TSV, JSON/JSONL, YAML-like files, HTML, and DOCX. PDF extraction is available when pypdf is installed by the caller.

Terminal window
skeinrank canonicalize "k8s rollout uses pg database" \
--text \
--dictionary company_dictionary.json
Terminal window
skeinrank document-text incident-runbook.docx --output incident-runbook.txt