Good to know you made it he he. Actually, yang Gemini ang medyo "in" sa trends ng filipino grammar. Yan lang sulit na.
Kung dyan lang nasiyahan ka, mas ok din kung i-train mo yung LLM like Gemini for language pre-processing-(optional) professional approach. Mas ok yung free Pro models kahit yung lumang 1.5 Pro/2.5-pro for this purpose as free credits are acceptable when needed. Gagamit ka ng RAG app like Anything LLM with knowledgebase w/ free gemini embedding model api or
BGE-M3 (offline model). Yung knowledgebase consists of tagalog-english language dictionary, tagalog slang dictionary, tagalog grammar guide, sample conversational texts, atbp. (since tagalog is often used mixed with english or taglish).....Mas makakatulong yan to create close to perfect filipino grammar bago isalang sa TTS (or cloning +TTS). This is for reference only in case someone tries the idea on his/her experiments! Personal project ko ito to train my AI to speak like me, he he.
Tama yung ginawa mo. You used the most important part. Yung pag-control ng conversational text using prompts, tulad nitong examples:
1. For LLM pre-processing of text:
Code:
"Rewrite this Tagalog text into a TTS script using these tags: [br] for a short breath, [p:ms] for pauses in milliseconds, and <u> for stressed syllables. Ensure the rhythm sounds like a natural conversation, not a reading."
2. For TTS:
Code:
"Speak as a native Tagalog speaker from Manila. Use a conversational, non-robotic tone. Ensure clear distinction between 'o' and 'u' sounds. Maintain a slight breathiness at the end of sentences to sound more human."
Meron din extra option pag meron kang gustong dialogue (audio) at gusto mong gayahin. convert mo muna sa timestamped script. Usually, Edge-TTS does the trick or sa online. Then, I-prompt mo yung Gemini:
Code:
"Convert this timestamped transcript into a Gemini-compatible SSML script. Calculate <break> times based on the gaps between words. Use <prosody> and <emphasis> tags to reflect the 'excited' sentiment noted in the transcript."
Ok itong gamtin sa mga TV series.
Eka nga, use your imagination!Meron ka namang ai assistant to help you analyze the text and give advice to handle your conversational text. The rest is up to the AI to follow till you get your preferred results.