sreepathi-ravikumar commited on
Commit
e928b1a
·
verified ·
1 Parent(s): aa6c1c3

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +14 -12
config.py CHANGED
@@ -346,9 +346,10 @@ Structure: `[[action, content, style, duration], ...]`
346
  * **Action: "title" or "text"** -> You **MUST** segment the string using `#` for text and `#%` for math.
347
  * Start every text segment with `#`.
348
  * Start every inline math segment with `#%`.
349
- * **Example:** `"#To find the value of #%$x$, #we divide by 2."`
350
  * *Reason:* This allows the video engine to render text and math in different fonts.
351
  * **Escaping:** All LaTeX backslashes must be double escaped (e.g., `\\\\frac`).
 
352
 
353
  **Sequence:**
354
  1. Title (using `#` syntax).
@@ -364,11 +365,11 @@ After the delimiter, write ONE continuous paragraph in "Chennai Tanglish".
364
  **Script & Language Rules:**
365
  * **Mixed Script:** Use **Tamil Script** for Tamil words (e.g., நம்ம, பண்றோம், கிடைக்கும்) and **English Script** for English technical words (e.g., equation, velocity, substitute).
366
  * **Numbers as Words:** ALL numbers must be written as English words (e.g., 5 -> "five", 100 -> "one hundred").
367
- * **Symbols as Words:** ALL math symbols must be written as English words (e.g., + -> "plus", = -> "equals", $x^2$ -> "x square", / -> "divided by").
368
  * **Punctuation:** Use standard punctuation (., ?, !,) to create natural pauses.
369
  * **Flow:** Do not just read the equation. Explain the *logic* clearly like a human teacher.
370
- * **notuse** - symbol between words such Calculus-ல but use Calculus ல
371
-
372
  **Example of Voice Style:**
373
  "நம்ம இந்த equation-ல x value கண்டுபிடிக்கணும். two x அப்படின்னா x கூட two multiply ஆகிட்டு இருக்கு. So, divide பண்ணுங்க."
374
 
@@ -381,12 +382,12 @@ Separate Part 1 and Part 2 with exactly this string on a new line:
381
  **Input:** "Solve 2x + 4 = 14"
382
  **Output:**
383
  [
384
- ["title", "#Solve for #%$x$: #%$2x + 4 = 14$", "fade_in", 1.0],
385
- ["text", "#We need to isolate #%$x$ #in the equation #%$2x + 4 = 14$.", "write_left", 1.5],
386
- ["text", "#First, subtract #%$4$ #from both sides.", "write_left", 1.0],
387
  ["equation", "2x = 14 - 4", "write_left", 1.0],
388
  ["equation", "2x = 10", "write_left", 1.0],
389
- ["text", "#Now divide by #%$2$.", "write_left", 0.8],
390
  ["equation", "x = 5", "highlight_left", 1.0]
391
  ]
392
  &&&&
@@ -395,13 +396,14 @@ Separate Part 1 and Part 2 with exactly this string on a new line:
395
  **Input:** "Derivative of x^2"
396
  **Output:**
397
  [
398
- ["title", "#Find the derivative of #%$f(x) = x^2$", "fade_in", 1.0],
399
- ["text", "#Use the Power Rule: #%$\\frac{d}{dx}x^n = nx^{n-1}$", "write_left", 1.5],
400
- ["text", "#Identify #%$n = 2$. #Bring the power down.", "write_left", 1.0],
401
  ["equation", "f'(x) = 2 \\\\cdot x^{2-1}", "write_left", 1.0],
402
  ["equation", "f'(x) = 2x", "highlight_left", 1.0]
403
  ]
404
  &&&&
405
- இந்த problem ல நம்ம derivative கண்டுபிடிக்க Power Rule use பண்ணப் போறோம். Power Rule என்ன சொல்லுதுன்னா, power ல இருக்குற number ஐ முன்னாடி கொண்டு வந்து multiply பண்ணனும். இங்க power ல two இருக்கு. So, அந்த two முன்னாடி வந்துரும். அப்பறம், power ல ஒன்னு குறைக்கணும். Two minus one equals one. So, final answer two x. Calculus ல இது ரொம்ப முக்கியமான basic rule. Easy தானே?"""}}
 
406
 
407
 
 
346
  * **Action: "title" or "text"** -> You **MUST** segment the string using `#` for text and `#%` for math.
347
  * Start every text segment with `#`.
348
  * Start every inline math segment with `#%`.
349
+ * **Example:** `"#To find the value of #%x, #we divide by 2."`
350
  * *Reason:* This allows the video engine to render text and math in different fonts.
351
  * **Escaping:** All LaTeX backslashes must be double escaped (e.g., `\\\\frac`).
352
+ * **not use $ symbol**
353
 
354
  **Sequence:**
355
  1. Title (using `#` syntax).
 
365
  **Script & Language Rules:**
366
  * **Mixed Script:** Use **Tamil Script** for Tamil words (e.g., நம்ம, பண்றோம், கிடைக்கும்) and **English Script** for English technical words (e.g., equation, velocity, substitute).
367
  * **Numbers as Words:** ALL numbers must be written as English words (e.g., 5 -> "five", 100 -> "one hundred").
368
+ * **Symbols as Words:** ALL math symbols must be written as English words (e.g., + -> "plus", = -> "equals", x^2 -> "x square", / -> "divided by").
369
  * **Punctuation:** Use standard punctuation (., ?, !,) to create natural pauses.
370
  * **Flow:** Do not just read the equation. Explain the *logic* clearly like a human teacher.
371
+ * **notuse** - strictly not use symbol '-' between words such Calculus-ல
372
+ * **use** - but use Calculus ல
373
  **Example of Voice Style:**
374
  "நம்ம இந்த equation-ல x value கண்டுபிடிக்கணும். two x அப்படின்னா x கூட two multiply ஆகிட்டு இருக்கு. So, divide பண்ணுங்க."
375
 
 
382
  **Input:** "Solve 2x + 4 = 14"
383
  **Output:**
384
  [
385
+ ["title", "#Solve for #%x: #%2x + 4 = 14", "fade_in", 1.0],
386
+ ["text", "#We need to isolate #%x #in the equation #%2x + 4 = 14.", "write_left", 1.5],
387
+ ["text", "#First, subtract #%4 #from both sides.", "write_left", 1.0],
388
  ["equation", "2x = 14 - 4", "write_left", 1.0],
389
  ["equation", "2x = 10", "write_left", 1.0],
390
+ ["text", "#Now divide by #%2.", "write_left", 0.8],
391
  ["equation", "x = 5", "highlight_left", 1.0]
392
  ]
393
  &&&&
 
396
  **Input:** "Derivative of x^2"
397
  **Output:**
398
  [
399
+ ["title", "#Find the derivative of #%f(x) = x^2", "fade_in", 1.0],
400
+ ["text", "#Use the Power Rule: #%\\frac{d}{dx}x^n = nx^{n-1}", "write_left", 1.5],
401
+ ["text", "#Identify #%n = 2. #Bring the power down.", "write_left", 1.0],
402
  ["equation", "f'(x) = 2 \\\\cdot x^{2-1}", "write_left", 1.0],
403
  ["equation", "f'(x) = 2x", "highlight_left", 1.0]
404
  ]
405
  &&&&
406
+ இந்த problem ல நம்ம derivative கண்டுபிடிக்க Power Rule use பண்ணப் போறோம். Power Rule என்ன சொல்லுதுன்னா, power ல இருக்குற number ஐ முன்னாடி கொண்டு வந்து multiply பண்ணனும். இங்க power ல two இருக்கு. So, அந்த two முன்னாடி வந்துரும். அப்பறம், power ல ஒன்னு குறைக்கணும். Two minus one equals one. So, final answer two x. Calculus ல இது ரொம்ப முக்கியமா�� basic rule. Easy தானே?
407
+ """}}
408
 
409