NixLabConnectionconnecting
ProjectsProject
web /

dreamstop.openfp.net

publicguest

dreamstop.openfp.net, the website and user manual of dreamstop, a language for continuous disambiguation

git clone git@nixlab.openfp.net:web/dreamstop.openfp.net.git
fc2096a4f5f1eb40a0f6ed956ebe07c7a76f466cmanual/reference.typ
#import "style.typ": a, layers
#import "theme.typ": tokens

= Reference of the codes

== Every code, by layer

#let meanings = (
  ASR: [assertive: states that something is so],
  DIR: [directive: tells the reader to do something],
  IRG: [interrogative: asks which of several things holds],
  DEC: [declarative: saying it makes it so],
  ADM: [admonitive: warns of a hazard],
  CMS: [commissive: commits the author to a later act],
  FAC: [factual: committed to as fact. The default, not printed],
  HYP: [hypothetical: considered without commitment],
  COU: [counterfactive: considered, and known to be false],
  PFV: [perfective: one event, seen as a whole],
  PRF: [perfect: it happened, and its result holds],
  PRG: [progressive: under way, maybe unfinished],
  HAB: [habitual: what the thing is or regularly does],
  INC: ["now": false before the reference point, true after it],
  CSS: ["no longer": true before, false after],
  CNT: ["still": true before and after],
  EXP: ["not yet": false before and after, and expected],
  NEG: [negation: before the modal it negates the modal, after it the content],
  DEO: [ground: a rule or permission],
  ABL: [ground: the nature or capacity of the thing],
  TEL: [ground: what a named goal requires],
  NEC: [strength: necessary, in every case the ground admits],
  WNC: [strength: weakly necessary, in every best case],
  POS: [strength: possible, in some case],
  ONE: [happens one time in the program's life],
  OBS: [evidence: observed or measured by the author],
  PUP: [evidence: a record anyone can check],
  RPR: [evidence: reported by someone else],
  INF: [evidence: inferred],
  REC: [evidence: remembered],
  BSC: [an act noun meaning the act or procedure],
  OBJ: [an act noun meaning what the act produces],
)

#table(
  columns: (auto, auto, 1fr),
  table.header([*Layer*], [*Code*], [*Meaning*]),
  ..layers.map(l => l.codes.enumerate().map(((i, c)) => (
    if i == 0 { table.cell(rowspan: l.codes.len(), text(fill: tokens.title, weight: "bold", l.name)) },
    a(c),
    meanings.at(c),
  )).flatten().filter(x => x != none)).flatten(),
)

== Printing an annotation

A clause prints as its codes joined by `·` inside brackets, in this fixed order:

#a("Force · Mood · Aspect · Phase · NEG · Ground · Strength · NEG · Bound · Evidence")

`FAC`, empty slots and absent negations are not printed. With no modal, a clause has one place for `NEG`, after the phase. A subordinate clause prints its place after its brackets: `/rel1`, `/adv1` or `/comp1` for a relative, adverbial or complement clause of clause 1. Act nouns follow their clause in braces. A sentence prints as its clauses separated by spaces, in the order of their finite verbs.

== Laws

Every annotation obeys these laws. dreamstop drops a reading that breaks one as an annotator's mistake.

+ Every clause has a force and an aspect, and every act noun carries `BSC` or `OBJ`.
+ Within a ground, `NEC` implies `WNC`, which implies `POS`.
+ Within a ground, `POS` equals `NEG·NEC·NEG`.
+ What is inevitable by nature holds: `ABL·NEC` of something implies it. An obligation or a goal does not.
+ What happens was within capacity.
+ The phases are defined by truth before and after the reference point, so `INC` over a negation equals `CSS`.
+ A kind with no reference point allows no phase.
+ `DEC` and `CMS` take no phase.
+ `ONE` excludes `HAB`.
+ Evidence appears only on factual assertions.
+ `HYP` appears only on `ASR` and `IRG`, and `COU` only on `ASR`.
+ `TEL` names its goal. Annotators apply this, and the checker cannot.

= Glossary

/ Act noun: a noun that names an act, such as backup, review or import. It carries `BSC` or `OBJ`.
/ Ambiguous: the verdict on a sentence with more than one reading, or with a reading beside none.
/ Ambiguity by omission: a document whose every sentence is clear but which leaves out something its reader needs.
/ Annotation: the codes of one reading of a sentence, clause by clause.
/ Annotator: the program that reads a sentence and writes its annotations.
/ Aspect: the slot that relates an event to the time being talked about: `PFV`, `PRF`, `PRG` or `HAB`.
/ Bad side: the sentence of a minimal pair with several readings, none, or one its kind rejects.
/ Bound: the slot that says an event happens one time in the program's life: `ONE`.
/ Clause: one finite verb with everything it governs.
/ Clear: the verdict on a sentence with exactly one reading.
/ Document kind: the patterns a kind of document allows for each clause place, kept in its own repository.
/ Edit: the difference between the closest bad reading and the good reading, counted in slots.
/ Evidence: the slot that states the basis of an assertion.
/ Finite verb: a verb that carries tense or is an imperative, with its auxiliaries and modals.
/ Force: the slot that says what a clause does for its reader.
/ Good side: the sentence of a minimal pair with one reading, which its kind accepts.
/ Ground: the half of a modal that says what makes it so: `DEO`, `ABL` or `TEL`.
/ Layer: a family of codes that fill one slot, printed in one colour.
/ Limit pair: a pair that shows something the checker cannot judge. The laws skip it.
/ Minimal pair: two sentences that differ by the smallest possible edit that makes the sentence clear.
/ Modal: a ground and a strength together.
/ Nominalisation: the layer of the act and product codes, `BSC` and `OBJ`. See act noun.
/ Mood: the slot that says whether a clause is put forward as fact.
/ Neutral slot: a slot in which a kind lets readings differ without counting them as different.
/ Nonsense: the verdict on a sentence in which no annotator finds a reading.
/ Normal form: the single way of writing a meaning, after the rewrites of normalisation.
/ Pattern: the slots and codes a kind allows for clauses in one place.
/ Phase: the slot that says how a clause's truth changes across the reference point.
/ Place: whether a clause is main, relative, adverbial or complement, and which clause is its parent.
/ Reader: a person reading a document.
/ Reading: one meaning of a sentence. An annotation records one reading.
/ Reference point: the moment a phase is measured from, set by the document: the release in a ChangeLog, the time of writing in an issue.
/ Release action: a ChangeLog's main `ASR·PFV` clause with no phase and no bound, such as "Added …".
/ Significant: said of act nouns in a kind where `BSC` against `OBJ` makes a sentence ambiguous.
/ Slot: one position in a clause's annotation, filled by a code of one layer.
/ Standing claim: an `ASR·HAB` main clause that says how things are.
/ Strength: the half of a modal that says how much it requires: `NEC`, `WNC` or `POS`.
/ Verdict: Clear, Ambiguous or Nonsense.