Ionosphere.tv
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: create format-lexicon with facet type definitions

+87
+44
formats/tv.ionosphere/ionosphere.lexicon.json
··· 1 + { 2 + "$type": "org.relationaltext.format-lexicon", 3 + "id": "tv.ionosphere.facet", 4 + "name": "Ionosphere Talk Annotations", 5 + "description": "Semantic annotations for conference talk transcripts: timestamps, speakers, concepts, cross-references", 6 + "features": [ 7 + { 8 + "typeId": "tv.ionosphere.facet#speaker-segment", 9 + "featureClass": "block", 10 + "expandStart": false, 11 + "expandEnd": false 12 + }, 13 + { 14 + "typeId": "tv.ionosphere.facet#concept-ref", 15 + "featureClass": "inline", 16 + "expandStart": false, 17 + "expandEnd": false 18 + }, 19 + { 20 + "typeId": "tv.ionosphere.facet#speaker-ref", 21 + "featureClass": "inline", 22 + "expandStart": false, 23 + "expandEnd": false 24 + }, 25 + { 26 + "typeId": "tv.ionosphere.facet#talk-xref", 27 + "featureClass": "inline", 28 + "expandStart": false, 29 + "expandEnd": false 30 + }, 31 + { 32 + "typeId": "tv.ionosphere.facet#link", 33 + "featureClass": "inline", 34 + "expandStart": false, 35 + "expandEnd": false 36 + }, 37 + { 38 + "typeId": "tv.ionosphere.facet#timestamp", 39 + "featureClass": "meta", 40 + "expandStart": false, 41 + "expandEnd": false 42 + } 43 + ] 44 + }
+21
formats/tv.ionosphere/package.json
··· 1 + { 2 + "name": "@ionosphere/format", 3 + "version": "0.1.0", 4 + "type": "module", 5 + "main": "ts/index.ts", 6 + "exports": { 7 + ".": "./ts/index.ts", 8 + "./assemble": "./ts/assemble.ts" 9 + }, 10 + "dependencies": { 11 + "relational-text": "^0.1.1" 12 + }, 13 + "devDependencies": { 14 + "typescript": "^5", 15 + "vitest": "^3.0.0" 16 + }, 17 + "scripts": { 18 + "test": "vitest run", 19 + "typecheck": "tsc --noEmit" 20 + } 21 + }
+14
formats/tv.ionosphere/ts/index.ts
··· 1 + export const NAMESPACE = "tv.ionosphere"; 2 + 3 + // Shared types used across packages 4 + export interface WordTimestamp { 5 + word: string; 6 + start: number; // seconds 7 + end: number; // seconds 8 + confidence: number; 9 + } 10 + 11 + export interface TranscriptResult { 12 + text: string; 13 + words: WordTimestamp[]; 14 + }
+8
formats/tv.ionosphere/tsconfig.json
··· 1 + { 2 + "extends": "../../tsconfig.json", 3 + "compilerOptions": { 4 + "rootDir": "ts", 5 + "outDir": "dist" 6 + }, 7 + "include": ["ts"] 8 + }