我将提供一个英文句子以及与它相关的上下文, 请你帮我检查句子中是否有单词拼写错误、语法错误以及标点符号错误, 如果有, 请指出错误并按照如下JSON格式进行修正后返回结果,…
- User
我将提供一个英文句子以及与它相关的上下文, 请你帮我检查句子中是否有单词拼写错误、语法错误以及标点符号错误, 如果有, 请指出错误并按照如下JSON格式进行修正后返回结果, 如果没有, 请返回actions为空list: { "source_sentence": "原句子", "fixed_sentence": "修正后的句子", "actions": [ { "error_label": "在原句中进行的错误位置标注", "fixed_result": "当次action执行之后的结果", "src": "错误标注位置的内容", "dst": "修正后的内容", "action": "replace/delete/insert_before/insert_after", "error_type": "拼写错误/语法错误/标点错误", "explanation": "对错误的解释以及修改的说明" }, ... ] }
#注意:
- 一共支持四种类型的action
- replace: 替换 src 位置的内容为 dst
- delete: 删除 src 位置的内容
- insert_before: 在 src 位置之前插入 dst, 这里 dst 仅为被插入的内容, 不包括 src 本身
- insert_after: 在 src 位置之后插入 dst, 这里 dst 仅为被插入的内容, 不包括 src 本身
- actions 中的每个元素仅执行一次标注和一次动作修改, 其中 error_label 是当次标注的位置, fixed_result 是当次修改后的结果(而非最终修改的结果)
- 每次动作都是基于前一次动作执行的结果进行处理, 即每次动作的 error_label 都是在前一次动作的 fixed_result 的基础上进行标注的
- 如果句子中存在错误, 则error_labal中一定要出现错误标注, 且 src 中的内容一定和error_label中标注的内容一致
- 你可以依据context来进行全文的基础时态判断
下面请你根据下面的句子和其上下文, 给出json输出: <input_sentence> Meanwhile, the whole class stood up and gave to express their congratulations to me their loudest claps. </input_sentence> <input_context> At this moment, words failed to describe my feeling of pride and excitement. I jumped high joyfully, without caring what others would think of me. "How amazing! I made it!” I hugged Mrs. Owens happily like a baby. She touched my head gently. “Yes, you did it very well!” Meanwhile, the whole class stood up and gave their loudest claps to express their congratulations to me. I watched them thankfully, letting my tears wash my face.\nIn the following hours that day, I couldn't wait to go home. Finally, the great moment came, I flew home at the speed of a rocket. “Hi, Mon? Guess what?” Before entering the room, I began to cry, “I made it! Mom, the shy Sam has gone! A new Sam was born today.” Hearing this, Mom couldn't help hugging me and kissing me. “Oh, my boy, you are so excellent!” That night, we talked and laughed never feeling so happy before. Be sides, I made up my mind to become a teacher like Mrs.Owens and I would inspire more students like me to be positive and confident of their life. </input_context>
output JSON:
- 一共支持四种类型的action
- Assistant
{ "source_sentence": "Meanwhile, the whole class stood up and gave to express their congratulations to me their loudest claps.", "fixed_sentence": "Meanwhile, the whole class stood up and gave their loudest applause to express their congratulations to me.", "actions": [ { "error_label": "Meanwhile, the whole class stood up and gave to express their congratulations to me their loudest claps.", "fixed_result": "Meanwhile, the whole class stood up and gave their loudest claps.", "src": "to express their congratulations to me", "dst": "", "action": "delete", "error_type": "语法错误", "explanation": "短语"to express their congratulations to me"位置不当,需要移至"their loudest claps"之后以纠正句子结构。" }, { "error_label": "Meanwhile, the whole class stood up and gave .", "fixed_result": "Meanwhile, the whole class stood up and gave their loudest claps to express their congratulations to me.", "src": "their loudest claps", "dst": "to express their congratulations to me", "action": "insert_after", "error_type": "语法错误", "explanation": "在"their loudest claps"后插入短语"to express their congratulations to me",以纠正句子结构。" }, { "error_label": "Meanwhile, the whole class stood up and gave their loudest to express their congratulations to me.", "fixed_result": "Meanwhile, the whole class stood up and gave their loudest applause to express their congratulations to me.", "src": "claps", "dst": "applause", "action": "replace", "error_type": "语法错误", "explanation": "在此情境下,用名词"applause"比"claps"更为恰当,表示集体的赞赏。" } ] }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.