कालिदासस्य जीवनवृत्तिविषये अनेकाः लोकविश्रुतयः अनेके वादाः च सन्ति । केचित् एनं विक्रमादित्यस्य सभायां कविः इति मन्यन्ते । केचित् गुप्तकालीननरेशाणाम् आश्रयं प्राप्तवानिति कथयन्ति ।
धारानगरे भोजराजस्य सभायां कविरत्नपदभूषितः अभूत् इति कथाकोविदाः कथयन्ति। जनश्रुत्यनुसारं बाल्यकाले सः अतीव मूर्खः आसीत् । विद्याधरया सह तस्य विवाहः अभवत् । मूर्खः पतिः इति
ज्ञात्वा विद्याधरा तं कालीदेव्याः आलयं नीत्वा यावत् सा भवते विद्यां न उपदिशति तावत् भवता ततः बहिः न आगन्तव्यम् इति आदिशत् । ततः पत्न्याः कथनानुसारेण तथैव आचरितः कालिदासः
कालीदेव्याः वरप्रसादेन विद्वान् अभवत् इति । इयं कथा कालिदासस्य प्रतिभया कविताचातुर्येण च जाता तथ्या तु न इति विदुषां मतिः । यतः जानकीहरणस्य कर्ता राजाकुमारदासः च सप्तमे शतके
आस्ताम् इति विद्वांसः निश्चितवन्तः । अतः अयं तस्मिन् काले नासीत् इति वक्तुं शक्यते । इतोऽपि कालिदासस्य कविताचातुर्यं निर्दिश्यमानाः अनेकाः कथाः सन्ति ।
--
You received this message because you are subscribed to the Google Groups "sanskrit-programmers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sanskrit-program...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sanskrit-programmers/CAALtx9ZiM7i2mYKG0dho5sq16PNoBCOz2sb4bdtGdk7T6-K6jQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sanskrit-programmers/CACsLTJLpLbd0fhvaooZyHmGCRzwmZcyc9K-sFnWq7O3CZN0Z-Q%40mail.gmail.com.
Namaste Avinash, Ganesh,
The audio sounds great.
I built an Android app for Samskrita VyavahArasAhasrI last year
end. This app uses Hear2Read TTS
(https://hear2read.org/solution-android.php). Only first 7 lessons
have been incorporated into the app yet. UI needs to be improved
as well.
Demo video for this app - https://www.youtube.com/watch?v=rnR9jGvMHa4
APK and source code for this app is available at -
https://github.com/ShivajiDala/SAMVYASA.git
Thanks,
Raghav
To view this discussion on the web visit https://groups.google.com/d/msgid/sanskrit-programmers/CADSGPzV9aRWEB2eT80FmwJDhbXLEPdM0j92sP%3DHsJ-7PXHWX1g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sanskrit-programmers/3d265fbe-de5b-b569-3a44-65621260b56a%40gmail.com.
On 7 Mar 2021, at 11:27 am, विश्वासो वासुकिजः <vishvas...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/sanskrit-programmers/CAFY6qgFK2c6c7BwNw4OJvRM6dWoLZH0udPMVHq5ewFcfBxRKuw%40mail.gmail.com.
I’ve never used Sanskrit TTS. Can it be given accented text and asked to reproduce it vocally?
If not, how does it determine the intonation with which to render sentences?
To view this discussion on the web visit https://groups.google.com/d/msgid/sanskrit-programmers/680226B2-CE5F-46D4-9EE4-93A7DCE9EF1A%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sanskrit-programmers/CAFY6qgGnowjf3X_VpPy-qtS2J32Z8qsPawCKQdMEyRiAUQMRGA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sanskrit-programmers/6607E9F7-2951-443C-A2C9-CBDD0A532DE5%40gmail.com.
----------------------------------------------------
Best Regards,
Shreekantha A Nadig
To view this discussion on the web visit https://groups.google.com/d/msgid/sanskrit-programmers/CAALtx9a-TmrTcaEnv%2BK%3D97x21G3q%2Bp-%3Du98cgMNJCeNuiZuLvQ%40mail.gmail.com.
@Avinash, I have collected the sentences using OCR from the SB
e-book. One of the reasons I have not put them in a CSV is
copyright (it is easy to download; safer tucked away in code).
dhanyavAdAH
Raghav
To view this discussion on the web visit https://groups.google.com/d/msgid/sanskrit-programmers/c2acc066-64eb-41c8-bbe4-cca1ca993ed8n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sanskrit-programmers/06448d67-4b13-50e0-59ab-670a8ecc0268%40gmail.com.
On Sun, Mar 7, 2021 at 6:07 PM Irene Galstian <gnos...@gmail.com> wrote:I’ve never used Sanskrit TTS. Can it be given accented text and asked to reproduce it vocally?If you mean svaras of sanskrit, no - atleast not directly. Maybe someone here knows if some conversion is possible?
On Sun, Mar 7, 2021 at 10:18 PM विश्वासो वासुकिजः (Vishvas Vasuki) <vishvas...@gmail.com> wrote:On Sun, Mar 7, 2021 at 6:07 PM Irene Galstian <gnos...@gmail.com> wrote:I’ve never used Sanskrit TTS. Can it be given accented text and asked to reproduce it vocally?If you mean svaras of sanskrit, no - atleast not directly. Maybe someone here knows if some conversion is possible?उत्कर्षोज्ज्वलाभ्यां (अत्र संयुक्ताभ्यां) राजपुत्राभ्यां सृज्यमानं किञ्चन पुलकयति माम्! तस्य प्राग्रूपम् इह - https://031323.github.io/rgvedopkrnani/path#3365 ("उ॒द्घाट्य॒ कश्चि॑त् का॒लः प्रति॑पाल्यताम्। ततः॒ कामप्यृचं॑ नुदतु। इ॒दानीं॑ प॒ठ्यमा॑नाया ऋ॒चो नोद॑नेन॒ रोद्धुं॑ शक्यते।")
Hello all,I've been investigating cross-lingual TTS techniques to try to adapt available TTS models from other languages for Sanskrit. As part of this investigation, I have been playing around with the Google TTS API and demo - https://cloud.google.com/text-to-speech#section-2.One experiment I tried is to directly use other Indian languages that mostly have similar phonemes as a substitute for Sanskrit. E.g. use Kannada TTS to generate Sanskrit speech. The results were not bad - definitely intelligible and usable depending on the speed, etc. If you want to try, convert Sanskrit text to Kannada script (e.g. using https://aksharamukha.appspot.com) and paste it in the text section of the demo linked above. Choose Language/locale ಕನ್ನಡ (ಭಾರತ) and one of the available voices. I found that a speed of 0.8 was a good setting, but YMMV.
Since this got tedious after a while, I put together a script to automate it. This weekend, I converted the script into a python package that could be used from other applications - https://github.com/avinashvarna/sanskrit_tts. The package is in a preliminary state, with some defaults that are a personal preference, but could be modified via function arguments. A simple example notebook on using the library is included as well.For example, I obtained the attached mp3 with the following text from Sanskrit wikipedia (https://sa.wikipedia.org/wiki/कालिदासः#कवेः_देश):कालिदासस्य जीवनवृत्तिविषये अनेकाः लोकविश्रुतयः अनेके वादाः च सन्ति । केचित् एनं विक्रमादित्यस्य सभायां कविः इति मन्यन्ते । केचित् गुप्तकालीननरेशाणाम् आश्रयं प्राप्तवानिति कथयन्ति ।
धारानगरे भोजराजस्य सभायां कविरत्नपदभूषितः अभूत् इति कथाकोविदाः कथयन्ति। जनश्रुत्यनुसारं बाल्यकाले सः अतीव मूर्खः आसीत् । विद्याधरया सह तस्य विवाहः अभवत् । मूर्खः पतिः इति
ज्ञात्वा विद्याधरा तं कालीदेव्याः आलयं नीत्वा यावत् सा भवते विद्यां न उपदिशति तावत् भवता ततः बहिः न आगन्तव्यम् इति आदिशत् । ततः पत्न्याः कथनानुसारेण तथैव आचरितः कालिदासः
कालीदेव्याः वरप्रसादेन विद्वान् अभवत् इति । इयं कथा कालिदासस्य प्रतिभया कविताचातुर्येण च जाता तथ्या तु न इति विदुषां मतिः । यतः जानकीहरणस्य कर्ता राजाकुमारदासः च सप्तमे शतके
आस्ताम् इति विद्वांसः निश्चितवन्तः । अतः अयं तस्मिन् काले नासीत् इति वक्तुं शक्यते । इतोऽपि कालिदासस्य कविताचातुर्यं निर्दिश्यमानाः अनेकाः कथाः सन्ति ।There are some systematic errors (e.g. in the pronunciation of visarga following hrasva-i in कविः,पतिः, etc), but the output is probably usable to convert articles/texts to audio for assistive applications, or for listening to articles while commuting/walking/exercising.Some next steps I am considering:
- Use this approach to create an initial database of Sanskrit sentences and audio.
- Use database from (1) to create a TTS system that can then be fine-tuned on actual training examples. E.g. maybe fine-tune it on ramayana shloka audio to create a TTS specifically tuned for shlokas as discussed here
- Over time, add such TTS systems to the sanskrit_tts package
- Maybe use the database from (1) generated with different pitch/speed/etc. settings to bootstrap an ASR system as discussed in the same thread The ASR system could be further fine-tuned on AIR data or others
Any feedback on these steps, and/or the sanskrit_tts library will be appreciated. If you have other ideas for TTS/ASR, please add those as well. Collaborators are always welcome! :)Regards,Avinash
--
You received this message because you are subscribed to the Google Groups "sanskrit-programmers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sanskrit-program...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sanskrit-programmers/CAALtx9ZiM7i2mYKG0dho5sq16PNoBCOz2sb4bdtGdk7T6-K6jQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "sanskrit-programmers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sanskrit-program...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sanskrit-programmers/CAALtx9ZiM7i2mYKG0dho5sq16PNoBCOz2sb4bdtGdk7T6-K6jQ%40mail.gmail.com.