UNPKG

@formant/ava

Version:

A framework for automated visual analytics.

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