跳到正文
DEV Community· Savindu Thathsara·· 28 天前AI 評分28

Hearthlen 加入僧伽羅語語音支援

English and Sinhala

AI 導讀

Hearthlen 的離線 AI 系統新增僧伽羅語語音支援,並與 English 共用一個多語言語音模型。僧伽羅語語音使用 `si_LK-sinhala-medium`,喚醒詞仍是「hey Hearthlen」,English 則繼續使用 Lessac 語音。Qwen2.5-3B 以僧伽羅文回答「ආයුබෝවන්. ඔයා කොහොමද?」,耗時 9564 ms。

正文

English and Sinhala

The Sinhala voice said "ආයුබෝවන්. මම හර්ත්ලන්." Inference took 112 milliseconds. The greeting itself was 2.04 seconds of audio.

Savindu Thathsara, savithathsara.me. This is a Hearthlen note from the laptop.

English was the only filled-in language. Sinhala was an empty row in the same manifest. That row now points at a real voice, si_LK-sinhala-medium, and both languages share one multilingual speech model. The wake phrase is still "hey Hearthlen". After it, a sentence in Sinhala script is answered in Sinhala and spoken with that voice. English still uses the Lessac voice.

Asked "ආයුබෝවන්. ඔයා කොහොමද?", Qwen2.5-3B answered in Sinhala script in 9564 ms. The sentence is rough. It is Sinhala, which is what the voice speaks. The dashboard shows EN and සිංහල, and the one just heard is the bright label. The window those labels sit on is the dashboard.


Savindu Thathsara builds practical AI and automation in London. This series is the public log of an offline AI operating system he is writing and learning at the same time.

來源:DEV Community · dev.to