Docs menu
Question Types / English Advanced

English Question-Answer Evaluation Type

View Markdown
  • This document is for the development of the English Question-Answer evaluation type.

Applicable Scenarios

  • Show a text or play a dialogue to the respondent, pose a question, and then ask the respondent to answer the question semi-openly based on what they have heard or seen.

  • Key words and trap words can be set, with scores awarded for hitting key words and deducted for hitting trap words.

  • The evaluation focuses on the match degree with the reference answer, the hit rate of key words, and the overall pronunciation accuracy, fluency, and completeness scoring.

  • Example:

    Reading Material:
    Surtsey was born in 1963. Scientists saw the birth of this island.
    It began in the morning. A fishing boat was near Iceland.
    The boat moved under the captain's feet. He noticed a strange smell.
    He saw some black smoke. A volcano was breaking out.
    
    Question:
    What is Surtsey?
    
    Reference Answers:
    It's an island.
    It's an island near Iceland.
    It's an island not far from Iceland.
    ……etc.

Question Type Limitations

  • The maximum length of the audio sent should not exceed 60 seconds. There is no character limit for the reference text.

Question Type Parameters

FieldTypeDefault ValueDescription
modestringRequiredIndicates the question-answer evaluation type.
stemdictNoneThe stem of the question.
├─ parastringNoneChapter content.
├─ questionstringNoneQuestion content.
answerlist<dict>RequiredReference answers.
├─ textstringRequiredContent of the answer.
keywordlist<dict>NoneKeywords that will score points when hit.
├─ textstringNoneContent of the keyword; hitting any one keyword will score points.
distractorlist<dict>NoneTrap words that will deduct points when hit.
├─ textstringNoneContent of the trap word; hitting any one trap word will deduct points.
pronunciationlist<dict>NoneSpecify word pronunciation.
├─ ipabooleanfalseTrue for KK or DJ(15th edition)/IPA(88) phonetic schemes; false for the DolphinAI phonetic scheme.
├─ textstringNoneSpecified word.
├─ phonemesstringNonePronunciation of specified words; separate multiple pronunciations with a vertical line ``.

Example:

{
    "mode": "qa",
    "stem": {
        "para": "Surtsey was born in 1963. Scientists saw the birth of this island. It began in the morning. A fishing boat was near Iceland. The boat moved under the captain's feet. He noticed a strange smell. He saw some black smoke. A volcano was breaking out.",
        "question": "What is Surtsey?"
    },
    "answer": [
        {"text": "It's an island not far from Iceland."},
        {"text": "It's an island near Iceland."}
    ],
    "keyword": [
        {"text": "island"}
    ],
    "distractor": [
        {"text": "volcano"},
        {"text": "captain"},
        {"text": "boat"}
    ],
    "pronunciation": [
        {
            "ipa": false,
            "text": "not",
            "phonemes": "n oo t"
        }
    ]
}

Evaluation Results

FieldTypeDescription
taskIdstringTask ID
timestampintegerTask timestamp
audioUrlstringAudio address (returned only when audioUrl=true is set).

Note: Audio is retained for 30 days by default, it is recommended to download it to your server for long-term preservation.
paramsdictConnection and request parameters object
audioInfodictAudio quality information object
overalldoubleTotal score (range determined by scoring system)
fluencydoubleFluency (range determined by scoring system)
accuracydoubleAccuracy (range determined by scoring system)
integritydoubleIntegrity (range determined by scoring system)
wpmintegerSpeed rate, unit: "words per minute"
grammardouble/integerGrammar score (range determined by scoring system) Evaluation of the grammatical structure of the user's actual pronunciation
waveTimeintegerActual recording duration (ms)
startTimeintegerThe position where the start of the read in a recording (ms)
endTimeintegerThe position where the end of the read in a recording (ms)