Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Say - Text to Speech] ...Language autodetection #17260

Open
AMGMNPLK opened this issue Feb 23, 2025 · 2 comments
Open

[Say - Text to Speech] ...Language autodetection #17260

AMGMNPLK opened this issue Feb 23, 2025 · 2 comments
Labels
extension: say Issues related to the say extension extension Issues related to one of the extensions in the Store feature request New feature or improvement

Comments

@AMGMNPLK
Copy link

Extension

https://www.raycast.com/litomore/say

Description

Auto detection of the language of the text.

Who will benefit from this feature?

Everybody who read more than one language

Anything else?

No response

@AMGMNPLK AMGMNPLK added extension Issues related to one of the extensions in the Store feature request New feature or improvement labels Feb 23, 2025
@raycastbot raycastbot added the extension: say Issues related to the say extension label Feb 23, 2025
@raycastbot
Copy link
Collaborator

Thank you for opening this issue!

🔔 @LitoMore you might want to have a look.

💡 Author and Contributors commands

The author and contributors of litomore/say can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot close as not planned Closes the issue as not planned.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopens the issue.
  • @raycastbot assign me Assigns yourself to the issue.
  • @raycastbot good first issue Adds the "Good first issue" label to the issue.
  • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.

@LitoMore
Copy link
Contributor

LitoMore commented Feb 25, 2025

@AMGMNPLK Thanks for submitting this nice feature request.

Could you share more use cases about this request? I would like to hear some scenes when you're using this extension.

I've drafted a working branch that uses the Raycast AI to detect the language, but it requires the Raycast Pro membership.

I also checked some existing npm libraries for detecting the language, like tinyld. However, this does not support a detailed language branch/region. Here are some example sentences below:

"My favourite colour."
// tinyld => 'en'
// AI     => 'en_GB'
"kawaii"
// tinyld => 'en'
// AI     => 'ja_JP'

The benefit of tinyld is network-less as the concept of the Say extension. The Raycast AI is a more powerful and intelligent way of detecting languages.

I can implement both of them into the extension. And make it configurable through extension preferences. Does this sound good to you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension: say Issues related to the say extension extension Issues related to one of the extensions in the Store feature request New feature or improvement
Projects
None yet
Development

No branches or pull requests

3 participants