UNPKG

@formant/ava

Version:

A framework for automated visual analytics.

11 lines (10 loc) 675 B
import { InsightNarrativeStrategy } from './base'; import type { HomogeneousInsightInfo } from './base'; import type { Language, HomogeneousPatternInfo, HomogeneousInsightType } from '../../types'; import type { ParagraphSpec, Structure, StructureTemp } from '../../../ntv/types'; export default class ExceptionNarrativeStrategy extends InsightNarrativeStrategy<HomogeneousPatternInfo> { static readonly insightType: HomogeneousInsightType; protected static structures: Record<Language, Structure[]>; protected static structureTemps: Record<Language, StructureTemp[]>; generateTextSpec(insightInfo: HomogeneousInsightInfo, lang: Language): ParagraphSpec[]; }