Skip to content

逻辑分析

接口数据

json
{
    "corrected_essay": {
        "para": [
            {
                "id": 1,
                "sent": [
                    {
                        "id": 1,
                        "text": "In modern times, an immense number of people believe that remuneration is not the first significant part of choosing a job."
                    },
                    {
                        "id": 2,
                        "text": "To an extent, this can be considered one of the parts, I completely disagree with this statement, and in this essay, I will discuss the reasons for this and provide examples to support my viewpoint."
                    }
                ]
            },
            {
                "id": 2,
                "sent": [
                    {
                        "id": 3,
                        "text": "Generally speaking, there is a wide range of reasons why people believe that salary is not at all."
                    },
                    {
                        "id": 4,
                        "text": "People enjoy their jobs when they are doing the work that they want."
                    },
                    {
                        "id": 5,
                        "text": "Hence, personal satisfaction is the factor that matters."
                    },
                    {
                        "id": 6,
                        "text": "For instance, if a doctor works in a high-profile hospital in a city, where he gets a handsome amount of salary, but does not enjoy his work because he is not getting to experience different types of patients and cannot experiment with his skills as he would be doing if he were in a rural area."
                    },
                    {
                        "id": 7,
                        "text": "His skills are being restricted."
                    },
                    {
                        "id": 8,
                        "text": "Job satisfaction is, therefore, important for the person to give his fullest in the field."
                    }
                ]
            },
            {
                "id": 3,
                "sent": [
                    {
                        "id": 9,
                        "text": "Secondly, a vital factor to see is the ambience of the workplace."
                    },
                    {
                        "id": 10,
                        "text": "The colleagues with whom he is going to work, and the employer, should be cooperative, understanding, and friendly and make up a good team so that it is easy for the person to work with and feel comfortable and relaxed."
                    },
                    {
                        "id": 11,
                        "text": "Finally, comes the reputation of the company or workplace."
                    },
                    {
                        "id": 12,
                        "text": "A good rapport in the market and with the customers is necessary to achieve success in future; otherwise, growth will be hampered."
                    }
                ]
            },
            {
                "id": 4,
                "sent": [
                    {
                        "id": 13,
                        "text": "In conclusion, the aforementioned factors should be kept in mind when choosing a job."
                    },
                    {
                        "id": 14,
                        "text": "According to me, salary of course matters, but it is not only the thing that should be considered."
                    }
                ]
            }
        ]
    },
    "structures": {
        "paragraphs": {
            "summary": [
                {
                    "para": 1,
                    "content": "引言段表明完全不同意“工资是唯一考虑因素”观点并简要介绍文章内容"
                },
                {
                    "para": 2,
                    "content": "个人满意度因素"
                },
                {
                    "para": 3,
                    "content": "工作环境因素"
                },
                {
                    "para": 4,
                    "content": "结论段总结观点,重申工资不是唯一考虑因素"
                }
            ],
            "logical_structure": "[P1] -->  [P2] & [P3]  --> [P4]"
        },
        "introduction": {
            "paragraph": 1,
            "main_ideas": "引言段提出工资不是选择工作时最重要的因素,并明确表达了完全不同意题目中“工资是唯一考虑因素”的观点。",
            "comment": "引言段落[P1]中考生明确表达了工资不是最重要因素的观点,提供了文章结构的概述。表达较为清晰,有效引出了论点。但是句子[S1]存在歧义,根据全文逻辑,[S1]中的'not'应为笔误,否则经过[S2]'I completely disagree with this statement'后引言提出的立场会变为完全同意“工资是唯一考虑因素”,与全文论述完全相反;将[S1]中的'not'删除或者将'...换为'...后即可避免歧义。考生需要特别注意这种可能导致立场完全改变的失误。",
            "modify": [
                {
                    "sentence": 1,
                    "replace": "In modern times, an immense number of people believe that remuneration is the most significant part of choosing a job.",
                    "reason": "确保观点与后文一致"
                }
            ]
        },
        "body": {
            "paragraph": [2, 3],
            "content": "主体段落[P2]和[P3]分别讨论了认为工资不是最重要因素的两个主要原因,个人满意度和工作环境。",
            "comment": "主体段落的两个段落论证较为清晰且连贯地展开了对个人满意度和工作环境的讨论,并支持了引言中提出的观点。然而,这些段落没有直接讨论薪酬的重要性,导致与任务要求的相关性不足。为了确保段落内容与题目紧密相关,应在每个段落中明确指出薪酬在这些因素中的地位,并比较其他因素的重要性。例如,可以在讨论个人满意度和工作环境时提到高薪无法弥补这些方面的不足,从而更好地回应题目关于薪酬的重要性的讨论。",
            "modify": [
                {
                    "sentence": 3,
                    "replace": "Generally speaking, there is a wide range of reasons why people believe that salary is not the most important factor when choosing a job.",
                    "reason": "确保句子表达清晰,并直接回应题目"
                },
                {
                    "sentence": 5,
                    "replace": "Hence, personal satisfaction is the factor that matters more than salary.",
                    "reason": "强调个人满意度比薪酬更重要"
                },
                {
                    "sentence": 12,
                    "replace": "A good rapport in the market and with the customers is necessary to achieve success in future; otherwise, growth will be hampered. Even a high salary cannot make up for a lack of professional growth opportunities.",
                    "reason": "增加关于薪酬的重要性的讨论"
                }
            ]
        },
        "conclusion": {
            "paragraph": 4,
            "content": "结论段落[P4]总结了文章讨论的主要观点,并重申了工资不是选择工作时唯一考虑因素的立场。",
            "comment": "结论段落有效总结了前面的结论,重申了不同意工资是最重要因素的观点,完成了题目要求。表达清晰,整体连贯,但语言表达可以更加精炼,以增强论述的说服力。",
            "modify": []
        },
        "between": {
            "content": "引言、主体和结论之间的逻辑连贯性总体上是可以接受的。引言提出了论点,主体详细展开了原因,结论有效总结了主要观点。逻辑关系清晰,段落间的过渡自然。"
        }
    },
    "paragraphs": [
        {
            "para": 1,
            "summary": [
                {
                    "index": 1,
                    "sum": "Many people believe remuneration isn't the primary factor in job selection."
                },
                {
                    "index": 2,
                    "sum": "Partial agreement with this idea, but the author fully disagrees."
                }
            ],
            "logical_development": {
                "pattern": "[S1] ==> [S2]",
                "evaluation": "[S1] 引入了现代人对于薪酬的看法,即许多人认为薪酬不是选择工作的首要因素。[S2] 在承认薪酬是考虑因素之一的前提下,作者表明完全不同意这种观点,并在此基础上展开论述。然而,承认部分观点与作者表明反对立场之间的逻辑衔接有些突然,建议更明确地区分两者,以确保逻辑连贯。",
                "modify": [
                    {
                        "index": 2,
                        "replace": "To some extent, it can be a factor; however, I completely disagree with this view. In this essay, I will explain my reasons and provide examples to support my stance.",
                        "reason": "此修改通过更清晰地区分对其他观点的承认与作者的不同意,增强句子逻辑,使读者更易理解作者立场。"
                    }
                ]
            },
            "transition": {
                "pattern": "[S2] --- [S3]",
                "evaluation": "从引言部分过渡到论证部分的转换流畅,[S2] 为下文的论证提供了基础,引出了作者的反对观点,紧接着进入具体理由的分析。",
                "modify": []
            }
        },
        {
            "para": 2,
            "summary": [
                {
                    "index": 3,
                    "sum": "General reasons why salary isn't important."
                },
                {
                    "index": 4,
                    "sum": "People enjoy jobs they want."
                },
                {
                    "index": 5,
                    "sum": "Personal satisfaction is key."
                },
                {
                    "index": 6,
                    "sum": "Example: doctor in high-profile hospital."
                },
                {
                    "index": 7,
                    "sum": "Skills are restricted."
                },
                {
                    "index": 8,
                    "sum": "Job satisfaction crucial for performance."
                }
            ],
            "logical_development": {
                "pattern": "[S3] --> [S4] ==> [S5] --> {[S6] ==> [S7]} ==> [S8]",
                "evaluation": "[S3] 总结了对薪酬不重要的普遍看法。[S4] 和 [S5] 提供了具体原因,指出人们在从事自己喜欢的工作时更为满意,而个人满足感更为重要。[S6] 通过具体例子(医生在高端医院工作的情况)来支撑论点,[S7] 进一步解释这一例子带来的技能限制。[S8] 总结了个人工作满意度对表现的影响,呼应段落主题。这一逻辑链条较为清晰,但如果能在 [S6] 和 [S7] 之间增加更详细的解释,会使论证更有力。",
                "modify": [
                    {
                        "index": 6,
                        "replace": "For instance, if a doctor works in a high-profile hospital in a city where he earns a handsome salary but does not enjoy his work because he does not get to experience diverse patients or cannot experiment with his skills, as he might in a rural area, his professional growth may be restricted.",
                        "reason": "通过澄清因果关系,并提升可读性,使论点表达更为清晰,进一步突显技能受限的原因。"
                    },
                    {
                        "index": 7,
                        "replace": "Consequently, his skills might become restricted.",
                        "reason": "将句子简化,使其更直接明了,同时强化因果逻辑。"
                    }
                ]
            },
            "transition": {
                "pattern": "[S8] --- [S9]",
                "evaluation": "从讨论工作满意度过渡到其他工作场所因素(如环境氛围)的转换自然流畅,保持了段落间的连贯性。",
                "modify": []
            }
        },
        {
            "para": 3,
            "summary": [
                {
                    "index": 9,
                    "sum": "Importance of workplace ambience."
                },
                {
                    "index": 10,
                    "sum": "Cooperative colleagues and employer are essential."
                },
                {
                    "index": 11,
                    "sum": "The reputation of the company is also significant."
                },
                {
                    "index": 12,
                    "sum": "Good rapport with customers is necessary for growth."
                }
            ],
            "logical_development": {
                "pattern": "[S9] ==> [S10] & [S11] ==> [S12]",
                "evaluation": "[S9] 强调工作环境的重要性,[S10] 进一步具体化,提出同事和雇主的合作精神对于舒适的工作氛围至关重要。[S11] 引入公司声誉作为另一个影响因素,但这一点与前文的环境氛围论点衔接稍显生硬。[S12] 解释公司声誉对未来成功和增长的影响,为论点提供了补充,但建议在 [S11] 和 [S12] 之间增加逻辑过渡,使论述更流畅。",
                "modify": [
                    {
                        "index": 12,
                        "replace": "Moreover, the reputation of the company or workplace plays a crucial role in achieving long-term success, as a strong rapport with customers is essential for sustainable growth.",
                        "reason": "增加逻辑连接,使公司声誉与客户关系之间的联系更为紧密,提升段落整体连贯性。"
                    }
                ]
            },
            "transition": {
                "pattern": "[S12] --- [S13]",
                "evaluation": "从讨论工作环境和公司声誉顺利过渡到结论部分,整体逻辑衔接较为流畅。",
                "modify": []
            }
        },
        {
            "para": 4,
            "summary": [
                {
                    "index": 13,
                    "sum": "Conclusion summarizing key factors to consider when choosing a job."
                },
                {
                    "index": 14,
                    "sum": "Acknowledgment that salary matters but isn't the sole factor."
                }
            ],
            "logical_development": {
                "pattern": "[S13] --> [S14]",
                "evaluation": "[S13] 对全文进行总结,重申在选择工作时应考虑的关键因素。[S14] 承认薪酬的重要性,但强调其不是唯一的考虑因素。整体逻辑连贯,但可以通过调整 [S14] 的表达,使其更为清晰有力。",
                "modify": [
                    {
                        "index": 14,
                        "replace": "In my opinion, while salary certainly plays a role, it should not be the only factor considered when selecting a job.",
                        "reason": "改善句子结构,使表达更清晰,同时加强结论的说服力。"
                    }
                ]
            },
            "transition": {
                "pattern": "[S14] --- End",
                "evaluation": "最后的结论段落顺畅地总结了文章,提供了清晰且平衡的观点,使读者更好地理解作者的立场。",
                "modify": []
            }
        }
    ]
}

1. corrected_essay

原始文章内容,包含以下结构:

  • para: 段落数组
    • id: 段落编号
    • sent: 句子数组
      • id: 句子编号
      • text: 句子内容

2. structures

文章结构分析,包含以下部分:

2.1 paragraphs

段落整体分析:

  • summary: 段落摘要数组
    • para: 段落编号
    • content: 段落内容概述
  • logical_structure: 段落间的逻辑关系,使用箭头表示流程

2.2 introduction/body/conclusion

文章主要部分分析:

  • paragraph: 对应的段落编号
  • main_ideas/content: 主要内容概述
  • comment: 评价和建议
  • modify: 修改建议数组
    • sentence: 需要修改的句子编号
    • replace: 建议替换的内容
    • reason: 修改原因

2.3 between

段落之间的连接分析:

  • content: 段落间逻辑连贯性评价

3. paragraphs

详细的段落分析数组,每个段落包含:

  • para: 段落编号
  • summary: 句子摘要数组
    • index: 句子编号
    • sum: 句子内容概述
  • logical_development: 逻辑发展分析
    • pattern: 句子间的逻辑关系模式
    • evaluation: 逻辑发展评价
    • modify: 修改建议数组
  • transition: 过渡分析
    • pattern: 过渡模式
    • evaluation: 过渡评价
    • modify: 修改建议数组

这些数据结构共同构成了一个完整的作文分析系统,用于评估文章的逻辑结构、内容连贯性,并提供具体的改进建议。

前端页面

页面连接

页面结构设计

1. 整体布局

页面按照 Introduction、Body、Conclusion 三大部分垂直排列,每个部分包含以下元素:

2. 每个部分(Section)的组成

每个部分都包含:

  • 标题(如 "Introduction")
  • 中文说明区域
    • 段落概要(段落说明)
    • 段落内容(具体分析)
  • 原文展示区域
    • 原文句子
    • 修改建议(以不同颜色标注)
    • 句子编号(如 S1, S2 等)

3. 具体字段展示

原文句子显示

  • 显示原文句子内容(来自 corrected_essay.para[].sent[].text
  • 每个句子前标注编号(如 S1, S2)
  • 句子如有修改建议,使用diff展示
    • 删除内容:红色
    • 新增内容:绿色

分析内容显示

  • 显示段落评价(来自 structures.introduction/body/conclusion.comment
  • 显示逻辑分析(来自 paragraphs[].logical_development.evaluation
  • 显示修改建议(来自 structures.*.modify[]

4. 交互功能

  • 右上角绿色按钮:切换修改建议的显示模式
    • 开启状态:显示修改前后的对比(diff)
    • 关闭状态:只显示原文

5. 样式设计

  • 使用卡片式布局
  • 中英文内容分区显示
  • 使用不同颜色标注修改建议
  • 清晰的层级结构
  • 段落间留有适当间距