feat: add paper/ LaTeX draft, English data scripts, update progress docs

- paper/: 22-page LaTeX framework (7/10 sections complete, compiles cleanly)
  main.tex + 10 section files + refs.bib + compiled PDF (329KB)
- code/scripts/: three English dataset generation & merging scripts
  generate_english.py / generate_english_targeted.py / merge_v5.py
- CLAUDE.md: update paper writing status, add paper/ file map entry
- state.md: add section 8 paper writing progress (2026-05-15)
- .gitignore: add LaTeX build artifact exclusion rules

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-18 11:19:39 +08:00
parent b50cf395ab
commit 804ebd2f77
19 changed files with 3047 additions and 3 deletions

61
paper/main.tex Normal file
View File

@@ -0,0 +1,61 @@
% ============================================================
% CompanionGuard-RL — 论文主控文件
% 格式ctexart中文草稿
% 目标期刊IPM / ESAElsevier投稿前换 elsarticle.cls
% 编译xelatex main.tex
% ============================================================
\documentclass[12pt, a4paper]{ctexart}
% ---------- 基础包 ----------
\usepackage{geometry}
\geometry{left=2.5cm, right=2.5cm, top=2.5cm, bottom=2.5cm}
\usepackage{amsmath, amssymb}
\usepackage{graphicx}
\usepackage{booktabs} % 三线表
\usepackage{multirow}
\usepackage{array}
\usepackage{xcolor}
\usepackage{hyperref}
\usepackage{cite}
\usepackage{makecell}
% ---------- TODO 宏(红色标注待填内容) ----------
\newcommand{\todo}[1]{\textcolor{red}{\textbf{[TODO: #1]}}}
\newcommand{\citeneeded}{\textcolor{orange}{\textbf{[CITE]}}}
\newcommand{\placeholder}[1]{\textcolor{blue}{\textit{#1}}}
% ---------- 论文元信息 ----------
\title{CompanionGuard-RL面向情感陪伴AI的上下文感知风险检测\\与自适应干预框架}
\author{张思远 \and \todo{共同作者}}
\date{\today}
% ============================================================
\begin{document}
\maketitle
\begin{abstract}
\input{sections/00_abstract}
\end{abstract}
\tableofcontents
\newpage
% ---------- 各章节 ----------
\input{sections/01_intro}
\input{sections/02_related}
\input{sections/03_taxonomy}
\input{sections/04_dataset}
\input{sections/05_moduleB}
\input{sections/06_moduleC}
\input{sections/07_experiments}
\input{sections/08_discussion}
\input{sections/09_conclusion}
% ---------- 参考文献 ----------
\bibliographystyle{unsrt}
\bibliography{refs}
\end{document}