我将提供一个英文句子以及与它相关的上下文, 请你帮我检查句子中是否有单词拼写错误、语法错误以及标点符号错误, 如果有, 请指出错误并按照如下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> Her mother comforted her and said, "You cannot buy friends with a smile or a few good words. </input_sentence> <input_context> Once there was a little girl Lily who was very friendly and popular in her class. She was friends with everyone in her class. There was no one in class who did not like her. She was very kind and would always be busy with her friends. She felt very happy that she had so many friends at school and in her neighborhood. On Friendship Day, her class organized an event, in which everyone had to make three presents and give them to their best friends. Lily was really looking forward to the coming Friendship Day as she was expecting gifts from her friends. However, when all the presents were shared among her classmates, she was the only one who hadn't received any presents. She felt terrible and cried a lot. She wondered how that was possible. She had made so much effort to be friends with everyone but in the end no one thought of her as one of their best friends. Everyone came and tried to comfort her for a while but each one only stayed for a short time before leaving. This was exactly what Lily had done so many times to others. On that day when she got home, her mother saw her sad face. And then her mother asked her the reason for her sadness. "Where can I find true friends?" Lily asked. Her mother was surprised at her question. Then she asked Lily what had happened in school. Her mother comforted her and said, "You cannot buy friends with a smile or a few good words. If you really want true friends, you will have to give them real time and love. For a true friend you must always be available,in good times and bad." Lily replied, "But I want to be friends with everyone!" </input_context>
- Assistant
经过仔细分析,我对句子进行了以下检查:
-
单词拼写检查:
- 所有单词的拼写均正确,没有发现拼写错误。
-
语法检查:
- 句子的主干是 “Her mother comforted her and said”,结构正确,主语和动词搭配恰当。
- 引号内的直接引语 “You cannot buy friends with a smile or a few good words.” 语法正确,表达清晰。
- 时态使用正确,故事发生在过去,叙述采用过去式,而直接引语保持原话,符合英语用法。
-
标点符号检查:
- 句子中的逗号和引号使用正确。
- 句号位于引号内,符合美式英语的标点习惯。
因此,句子中没有发现任何单词拼写错误、语法错误或标点符号错误,无需进行任何修改。
-