C++ SCHX ยท rev 4
Cognition ยท v0.24.0

Constructions and programs

Reusable language/relationship patterns learned from repeated experience.

SCHX / FEATURE LAYER

Source map

  • cpp/include/abria/abr.hpp
  • cpp/src/abr.cpp
SCHX / FEATURE LAYER

Constructions

AbrConstruction stores learned patterns and example counts. Grounded constructions can associate a surface realization pattern with a semantic predicate.

SCHX / FEATURE LAYER

Programs

AbrProgram records a reusable relation-composition pattern: first predicate, second predicate, a name and observation count.

SCHX / FEATURE LAYER

Discovery

ABR discovers symbols, constructions and programs while ingesting sentences. They are part of the growing fabric rather than a hard-coded list of answers.

SCHX / FEATURE LAYER

Generation

The native answer path can select learned constructions/programs and a generation plan to realize a composed answer rather than replaying the original lesson verbatim.