Hi)
I want to make a speech recognition service for wolof language.
I found model and location in documentations:
https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages
location-us-central1, language - Wolof( Senegal), language_code wo-SN, model - chirp_2
Then i write some cpp code(this is not production code):
Hi @Semenovec,
Welcome to Google Cloud Community!
The error you're encountering ("StreamingRecognize does not support the 'wo-SN' language code for the 'chirp_2' model at location 'us-central1'") indicates a compatibility issue between the Wolof language (wo-SN) and the chirp_2 model for streaming recognition in the us-central1 region.
Here are the steps you can take to troubleshoot and resolve the issue:
1. Check Language Compatibility with the Model: The error indicates that the chirp_2 model does not support Wolof (wo-SN) in the us-central1 region. To resolve this, check this documentation to confirm model and language compatibility. If chirp_2 does not support Wolof for streaming, you may need to use a different model or explore other recognition options, such as non-streaming or asynchronous.
2. Use a Different Model:
3. Use different regions: Try deploying the recognizer in a different region, like europe-west1 or asia-east1, as model and language support can vary by region.
4. Ensure correct recognition settings: Verify that all recognition settings are correctly configured for streaming, including the audio format, sample rate, and other parameters. Ensure they match Google Cloud Speech-to-Text requirements, such as:
5. Check the Quotas and API Limits: Google Cloud Speech-to-Text may have quotas or API limits that impact recognition. Review the API Usage Quotas to ensure you're within the limits for both the service and the language.
In addition, while API v2 is the newer version, API v1 might still have better support for Wolof. Check the documentation for API v1 to see if it offers a suitable model and language code.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |