You need to sign in or sign up before continuing.
hookehuyr

docs(changelog): 更新多产品解析功能记录

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
## [2026-02-15] - 多产品文档解析支持
### 新增
- 新增 `product-splitter.js` 产品边界检测模块
- 支持产品代码前缀识别(GS、GC、FA、LV2 等)
- 支持产品命名模式(以"計劃"、"保障"、"保险"、"壽險"结尾)
- 自动检测和分割多产品文档
### 优化
- 增强 `parse-docs.js` 多产品处理能力
- `parseSingleFile()` 支持返回多产品数组
- `generateAuditFile()` 支持产品索引参数生成独立文件名
- 单文件模式 (`--file=`) 正确处理多产品结果
- `buildParseSummary()` 统计多产品数量
- 优化 `smart-field-extractor.js` 结构
- 新增 `smartExtractFieldsForProduct()` 单产品提取函数
- 移除重复的函数定义,统一调用接口
---
**详细信息**
- **影响文件**: scripts/product-splitter.js, scripts/parse-docs.js, scripts/smart-field-extractor.js
- **技术栈**: Node.js, 正则表达式, 多产品分割
- **测试状态**: 已测试(解析 计划书模版2.docx 成功识别 4 个产品)
- **备注**: 每个产品生成独立的审核文件,便于人工逐一确认
---
## [2026-02-15] - 智能字段提取器完善
### 新增
......