Skip to main content

Function: tagVocabulary()

tagVocabulary(documents): TagUse[]

Defined in: packages/agentos/src/cognition/library/tags.ts:235

The tags the documents hold, each document counted once a key and by its kind: most used first, ties by code point. Each key's label is the person's own spelling: every label a document holds that classifyLegacyTag reads as an alias of the key is a spelling of it, counted once a document, and the label is the spelling on the most documents, then the one seen on the latest changed document, then the first by compareCodePoints. The documents are read and never changed.

Parameters​

documents​

Iterable<TagDocument>

Returns​

TagUse[]