Skip to content

Commit

Permalink
v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yaniv-golan committed Nov 1, 2024
1 parent ecddad1 commit 9441afc
Show file tree
Hide file tree
Showing 24 changed files with 4,900 additions and 1,486 deletions.
366 changes: 203 additions & 163 deletions examples/latest/complex.stj.json
Original file line number Diff line number Diff line change
@@ -1,174 +1,214 @@
{
"metadata": {
"transcriber": {
"name": "YAWT",
"version": "0.4.0"
},
"created_at": "2023-10-19T15:30:00Z",
"source": {
"uri": "https://example.com/funny_conference.mp4",
"duration": 1800.0,
"languages": ["en", "es", "de"]
},
"languages": ["en", "es", "de"],
"confidence_threshold": 0.6,
"additional_info": {
"project": "Annual Humor Conference",
"client": "LaughCorp International"
}
},
"transcript": {
"speakers": [
{
"id": "Speaker1",
"name": "Dr. Chuckles",
"additional_info": {
"role": "Keynote Speaker"
}
"stj": {
"version": "0.6.0",
"metadata": {
"transcriber": {
"name": "YAWT",
"version": "0.4.0"
},
{
"id": "Speaker2",
"name": "Ms. Giggles",
"additional_info": {
"role": "Panelist"
}
"created_at": "2024-10-24T15:30:00Z",
"source": {
"uri": "https://example.com/funny_conference.mp4",
"duration": 1800.0,
"languages": [
"en",
"es",
"de"
]
},
{
"id": "Speaker3",
"name": "Herr Lachen",
"additional_info": {
"role": "Guest Speaker"
"languages": [
"en",
"es",
"de"
],
"confidence_threshold": 0.6,
"extensions": {
"project": {
"name": "Annual Humor Conference",
"client": "LaughCorp International"
}
}
],
"styles": [
{
"id": "Style1",
"formatting": {
"bold": true,
"italic": false,
"underline": false,
"color": "#FF5733",
"background_color": "#000000"
},
"transcript": {
"speakers": [
{
"id": "Speaker1",
"name": "Dr. Chuckles",
"extensions": {
"role": {
"title": "Keynote Speaker"
}
}
},
"positioning": {
"align": "center",
"line": "auto",
"position": "50%",
"size": "100%"
{
"id": "Speaker2",
"name": "Ms. Giggles",
"extensions": {
"role": {
"title": "Panelist"
}
}
},
{
"id": "Speaker3",
"name": "Herr Lachen",
"extensions": {
"role": {
"title": "Guest Speaker"
}
}
}
}
],
"segments": [
{
"start": 0.0,
"end": 5.0,
"text": "Ladies and gentlemen, welcome to the Annual Humor Conference!",
"speaker_id": "Speaker1",
"confidence": 0.98,
"language": "en",
"style_id": "Style1",
"words": [
{
"start": 0.0,
"end": 0.5,
"text": "Ladies",
"confidence": 0.99
},
{
"start": 0.5,
"end": 0.7,
"text": "and",
"confidence": 0.98
},
{
"start": 0.7,
"end": 1.2,
"text": "gentlemen,",
"confidence": 0.97
},
{
"start": 1.3,
"end": 2.0,
"text": "welcome",
"confidence": 0.99
},
{
"start": 2.1,
"end": 2.3,
"text": "to",
"confidence": 0.98
},
{
"start": 2.3,
"end": 2.5,
"text": "the",
"confidence": 0.98
],
"styles": [
{
"id": "Style1",
"text": {
"color": "#FF5733",
"background": "#000000",
"bold": true,
"italic": false,
"underline": false,
"size": "100%"
},
{
"start": 2.6,
"end": 3.5,
"text": "Annual",
"confidence": 0.97
"display": {
"align": "center",
"vertical": "bottom",
"position": {
"x": "50%",
"y": "90%"
}
},
{
"start": 3.6,
"end": 5.0,
"text": "Humor Conference!",
"confidence": 0.96
"extensions": {
"custom_webvtt": {
"line": "auto"
}
}
]
},
{
"start": 5.1,
"end": 10.0,
"text": "Did you hear about the mathematician who's afraid of negative numbers?",
"speaker_id": "Speaker1",
"confidence": 0.96,
"language": "en",
"style_id": "Style1"
},
{
"start": 10.1,
"end": 12.0,
"text": "He'll stop at nothing to avoid them!",
"speaker_id": "Speaker1",
"confidence": 0.95,
"language": "en",
"style_id": "Style1"
},
{
"start": 12.1,
"end": 17.0,
"text": "¡Y ahora, un poco de humor en español!",
"speaker_id": "Speaker2",
"confidence": 0.94,
"language": "es"
},
{
"start": 17.1,
"end": 22.0,
"text": "¿Qué le dijo un techo a otro techo? ¡Techo de menos!",
"speaker_id": "Speaker2",
"confidence": 0.93,
"language": "es"
},
{
"start": 22.1,
"end": 27.0,
"text": "Und jetzt etwas auf Deutsch!",
"speaker_id": "Speaker3",
"confidence": 0.92,
"language": "de"
},
{
"start": 27.1,
"end": 32.0,
"text": "Warum können Seeräuber den Kreisumfang so gut berechnen? Weil sie Pi raten!",
"speaker_id": "Speaker3",
"confidence": 0.91,
"language": "de"
}
]
}
],
"segments": [
{
"start": 0.0,
"end": 5.0,
"text": "Ladies and gentlemen, welcome to the Annual Humor Conference!",
"speaker_id": "Speaker1",
"confidence": 0.98,
"language": "en",
"style_id": "Style1",
"word_timing_mode": "complete",
"words": [
{
"start": 0.0,
"end": 0.5,
"text": "Ladies",
"confidence": 0.99
},
{
"start": 0.5,
"end": 0.7,
"text": "and",
"confidence": 0.98
},
{
"start": 0.7,
"end": 1.2,
"text": "gentlemen,",
"confidence": 0.97
},
{
"start": 1.3,
"end": 2.0,
"text": "welcome",
"confidence": 0.99
},
{
"start": 2.1,
"end": 2.3,
"text": "to",
"confidence": 0.98
},
{
"start": 2.3,
"end": 2.5,
"text": "the",
"confidence": 0.98
},
{
"start": 2.6,
"end": 3.5,
"text": "Annual",
"confidence": 0.97
},
{
"start": 3.6,
"end": 4.2,
"text": "Humor",
"confidence": 0.96
},
{
"start": 4.3,
"end": 5.0,
"text": "Conference!",
"confidence": 0.96
}
]
},
{
"start": 5.1,
"end": 10.0,
"text": "Did you hear about the mathematician who's afraid of negative numbers?",
"speaker_id": "Speaker1",
"confidence": 0.96,
"language": "en",
"style_id": "Style1",
"word_timing_mode": "none"
},
{
"start": 10.1,
"end": 12.0,
"text": "He'll stop at nothing to avoid them!",
"speaker_id": "Speaker1",
"confidence": 0.95,
"language": "en",
"style_id": "Style1",
"word_timing_mode": "none"
},
{
"start": 12.1,
"end": 17.0,
"text": "¡Y ahora, un poco de humor en español!",
"speaker_id": "Speaker2",
"confidence": 0.94,
"language": "es",
"word_timing_mode": "none"
},
{
"start": 17.1,
"end": 22.0,
"text": "¿Qué le dijo un techo a otro techo? ¡Techo de menos!",
"speaker_id": "Speaker2",
"confidence": 0.93,
"language": "es",
"word_timing_mode": "none"
},
{
"start": 22.1,
"end": 27.0,
"text": "Und jetzt etwas auf Deutsch!",
"speaker_id": "Speaker3",
"confidence": 0.92,
"language": "de",
"word_timing_mode": "none"
},
{
"start": 27.1,
"end": 32.0,
"text": "Warum können Seeräuber den Kreisumfang so gut berechnen? Weil sie Pi raten!",
"speaker_id": "Speaker3",
"confidence": 0.91,
"language": "de",
"word_timing_mode": "none"
}
]
}
}
}
}
Loading

0 comments on commit 9441afc

Please sign in to comment.