Themes¶
Themes form a directed acyclic graph: a theme can have several parents, and notecast never adds a link that would make a cycle.
Base themes¶
Base themes are the ones you create with --base. They are what
classify sorts notes into, they are never pruned, and reset --full
keeps them.
1 2 3 4 | |
A description is shown to the model when classifying; use it when the
name alone is ambiguous. Adding a theme re-queues every unclassified
note, since it might fit the new one.
Derived themes¶
organize creates subthemes under a theme once it holds split_threshold
(15) notes. It sends the model the theme's notes and the names of its
existing subthemes, asks for 2–4 subtopics, and:
- reuses an existing subtheme when the model names one (case-insensitive);
- skips a subtopic named like the theme itself, or like an unrelated theme elsewhere in the graph;
- files each note under the subtopics the model lists it in. Notes stay in the parent theme too.
A theme is reconsidered only when new notes have been classified into it, so the same theme is not split again on every run.
Consolidation¶
consolidate needs no model. For every derived theme A and any theme B,
if at least half of A's notes are also in B, and B has at least as many
notes as A, it makes B a parent of A (unless that would make a cycle). A must have
at least consolidate_min_notes (3) notes: with one or two, a single
shared note would count as full overlap and link unrelated themes. Base
themes are never moved under another theme: only --parent does that.
Then it
deletes derived themes that have no notes and no subthemes.
The graph¶
1 2 | |
Nodes show the theme name and its note count, coloured by depth. Base
themes have a thick border; empty themes are grey and dashed. This needs
the Graphviz dot program on your PATH.