Module schema

Module schema 

Source
Expand description

The lexical surface of a memory: which text is indexed, in which field, and how much each field is worth.

Fields are weighted rather than concatenated because where a term matched carries most of the signal. “Rhea” appearing as the subject of a record is a far stronger indication of relevance than “Rhea” appearing in the middle of a sentence.

Structs§

IndexedMemory
A memory reduced to what the index needs.

Enums§

Field
The indexed fields, in weight order.
MemoryOrigin
Where an indexed memory came from.

Functions§

tokenize
Split text into normalized, indexable terms.