concordance query reads the model a build wrote and answers what it knows, without the site and without a source: the note an expression names, where it is used with file and line, what it is linked to and how sure the model (note: Model) is, the decisions and sessions among those links. The same command runs the search of the site with its ranking and facets, lists the entities, counts them, names the spaces and the domains, lists the recurring expressions nobody defined and where they were read, what changed and with what, the findings the build (note: Build) recorded, and where a phrase (3 passages, no note) is written or spoken in the documents (note: Document) and the transcripts (note: Transcript). It answers a person at a terminal and, in the same words, an agent that puts the answer in its context (note: Passage).
Steps
- Find the model: the file
--modelnames; else the output of the configuration (note: Configuration) of the working directory, or of--config; else the published model the lint configuration names for the lint in global scope (note: Scope). Say which in the first line, with the instant of the build (3 passages, no note) and its age (4 passages, no note); never fetch, compute or write beyond that. - Resolve the expression (57 passages, no note) as the recognition (8 passages, no note) reads a note (note: Note): the identifier (note: Identifier), then a title or an alias (note: Alias) as written, then the same without case, accents (23 passages, no note) and inflections, then a prefix (17 passages, no note); a term (note: Term) wins among several notes; otherwise list the candidates (note: Candidate) and exit with 1.
- Read the section (note: Section) asked for, or every section: the note, its occurrences (note: Occurrence) grouped by the note whose files hold them, its links (note: Link) with relation (note: Relation), direction, confidence (note: Confidence) and methods (28 passages, no note), the decisions (62 passages, no note) and sessions (note: Meeting) among them; or walk (3 passages, no note) the links to another note, to what lies (3 passages, no note) within a radius, or to the provenances (note: Provenance) of a link; or search (note: Search) the index (note: Alphabetical index) of the site (note: Site), read from its files when they stand next to the model, else built from the model and its fragments (note: Fragment); or answer a question of the whole corpus (note: Corpus).
- Bound (4 passages, no note) every list and count the rest; write the answer as text in canonical order, or as JSON under the published schema (31 passages, no note).
- Exit with 0 when something answered (3 passages, no note), 1 when nothing did or several candidates could, 2 when no model could be read or the options (8 passages, no note) do not go together.