OTO
reference · oto survey --help at v0.6.1

oto survey

map the corpus: documents, headings, recurring terms

oto survey [-h] [--project PROJECT] [--doc DOC] [--top TOP] [--min-count MIN_COUNT]
                  [--json]

Options

OptionWhat it does
--project PROJECTproject root (default: current directory)
--doc DOCbrief one document by slug: its terms, and which already resolve to entities
--top TOPhow many terms and acronyms to list
--min-count MIN_COUNTa phrase must occur this often to be listed
--jsonmachine-readable

Where to use it

Before naming a single class: what do the documents talk about?

oto survey --project claims

documents, headings, dates, recurring phrases and acronyms; candidates, not facts

You are about to write one document's proposal.

oto survey --project claims --doc total-loss-procedure

its terms, and which already resolve to entities in the graph or the open candidate, so you reuse ids

As the terminal prints it
usage: oto survey [-h] [--project PROJECT] [--doc DOC] [--top TOP] [--min-count MIN_COUNT]
                  [--json]

options:
  -h, --help            show this help message and exit
  --project PROJECT     project root (default: current directory)
  --doc DOC             brief one document by slug: its terms, and which already resolve to
                        entities
  --top TOP             how many terms and acronyms to list
  --min-count MIN_COUNT
                        a phrase must occur this often to be listed
  --json                machine-readable