Skip to content

Why is it that even though I set the language to Chinese, the speech model still recognizes English text? #74

Description

@LiqiNew

private val DEMO_STT_MODEL = SttModel.PARAKEET

            val config = SpeechConfig(
                modelDir = modelDir,
                useNnapi = false,
                sttModel = DEMO_STT_MODEL,
                precision = ModelPrecision.INT8,
                emitPartialTranscriptions = true,
                partialTranscriptionInterval = 0.5f,
                language = "cn",
                languageHints = listOf("en", "cn")
            )

            val p = pipelineFactory(config)

'''Why is it that even though I set the language to Chinese, the speech model still recognizes English text?'''

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions