src/index.ts

airi · packages/speech-transformer-math/src/index.ts · typescript · MIT
voice

Exports math speech transformer utilities for rendering and parsing math expressions.

// Source: https://github.com/moeru-ai/airi | License: MIT | Copyright 2024-PRESENT Neko Ayaka
// Provided via justclaw.it.com; keep this notice with the code.
export type { MathSpeechExtension, RenderContext, RenderHandler, RenderHandlers } from './extension'
export { operatorHeads, rawHead, relationHeads } from './heads'
export type { FractionPart, FractionShape, MathLanguage, MathLocale, Relation, UnitLocale } from './locale'
export { aliases, canonicalSymbol, greek, greekNames, joinCompact, joinSpaced, josa, letterName, symbolAliases, unitPower } from './locale'
export { en } from './locales/en'
export { ja } from './locales/ja'
export { ko } from './locales/ko'
export { zh } from './locales/zh'
export { lowerMath } from './lower'
export { spellNumber } from './numbers'
export { parseM

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key