Interface: CorpusCommunity
@kortexya/reasoninglayer / CorpusCommunity
Interface: CorpusCommunity
Section titled “Interface: CorpusCommunity”Defined in: src/types/corpus.ts:147
One corpus-level entity community.
Remarks
Section titled “Remarks”label is the highest-degree member entity’s label (falling back to
"community {id}" when the community has no labelled member).
Properties
Section titled “Properties”documents
Section titled “documents”documents:
CorpusCommunityDocumentShare[]
Defined in: src/types/corpus.ts:157
Per-document membership, largest share first.
entityCount
Section titled “entityCount”entityCount:
number
Defined in: src/types/corpus.ts:153
Number of member entities.
id:
number
Defined in: src/types/corpus.ts:149
Community id.
label:
string
Defined in: src/types/corpus.ts:151
Community label — the highest-degree member’s label.
topEntities
Section titled “topEntities”topEntities:
CorpusEntityRef[]
Defined in: src/types/corpus.ts:155
Top member entities by degree.