ChivoxAI

/docs

en.word.score

Kernel Description

Evaluate speech on word reading, outputting evaluation scores of word and each phoneme.

  • Support syllable stress detection

Request Parameters

Parameters Type Required Description
coreType String true en.word.score means English word kernel.
refText String true The English word you want to envalate the recording with,Only supports words without any punctuation, such as "present". Accepted text punctuations refer toText Symbol Description
rank int false 4 or 100, Default value is 100

Sample Code

{
  "coreType": "en.word.score", 
  "refText": "present", 
  "rank": 100
}

Example of Returned Results

  • The results are returned using the JSON structure,Example

Introduction to Returned Results

Key Type Description Recommendations
tokenId string Unique identification of evaluation data For reference
result object Scoring result
- wavetime number Audio duration (Unit:milliseconds) For reference
- overall number Overall score Suggest to display
- details array Detailed phoneme score
- - char string Word Suggest to display
- - indict int The word's pronunciation is in dictionary or generated by the engine. 0, 1 or 2:
0: The word is not in Chivox’s dictionary and engine failed to generate its pronunciation.
1: The word is in Chivox’s dictionary.
2: The word is not in Chivox’s dictionary but the engine generates its pronunciation successfully.
For reference
- - score number Word pronunciation score Suggest to display
- - phone array Phoneme-level scoring results.
Refer to Phonetic Comparison Table
- - - char string Phoneme Suggest to display
- - - score number Phoneme score Suggest to display
- - stress array Phoneme stress results. Suggest to display
- - - char string Syllable Suggest to display
- - - ref number Whether the syllable should be stressed as marked in dictionary.
The value is 0 or 1:
0:Should not be stressed.
1:Should be stressed.
Suggest to display
- - - score number Whether the syllable is stressed, The value is 0 or 1:
0:It is stressed.
1:It is not stressed.
Suggest to display

Note: The other returned parameters that are not shown above are internal ones, which you don't need to pay much atttention to.

Score processing suggestions

Phoneme (details.phone[i].score), non-empty judgment is required before obtaining.

SDK, API, MCP and Function Calling documentation on this site.