Skip to main content

glossToText

@fovea/annotation-tool


@fovea/annotation-tool / utils/glossUtils / glossToText

Function: glossToText()

glossToText(gloss, activeOntology?, worldData?): string

Defined in: src/utils/glossUtils.ts:10

Helper function for simple text rendering of gloss items (no React components)

Parameters

gloss

GlossItem[]

Array of gloss items to convert to text

activeOntology?

any

Optional persona ontology for type lookups

worldData?

Optional world data for object lookups

entities

any[]

events

any[]

times

any[]

Returns

string

Plain text representation of the gloss