fix: update Chinese semantic search pattern rules#358
Conversation
There was a problem hiding this comment.
Sorry @Johnson-zs, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Johnson-zs The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
1. Added "数据" to spreadsheet keywords for better coverage 2. Updated time patterns to include "去年一整年" for better matching 3. Modified year-month pattern to recognize "月" and "月份" variations 4. These changes improve recognition of common Chinese expressions in file types and time references Log: Improved Chinese search pattern matching for spreadsheets and time references Influence: 1. Test search with new spreadsheet keywords 2. Verify time period matching with "去年一整年" 3. Check year-month pattern recognition with different formats 4. Validate existing patterns still work as expected fix: 更新中文语义搜索匹配规则 1. 在电子表格关键词中增加"数据"以提高覆盖率 2. 更新时间模式匹配增加"去年一整年"支持 3. 修改年月识别模式以支持"月"和"月份"两种写法 4. 这些修改提升了中文文件类型和时间表达式的识别准确度 Log: 改进电子表格和时间相关的中文搜索匹配 Influence: 1. 测试新的电子表格关键词匹配 2. 验证"去年一整年"时间段的识别 3. 检查不同格式的年月模式识别 4. 确保现有模式仍能正常工作 Fixes: #370467 #370395 #370583
deepin pr auto review★ 总体评分:95分■ 【总体评价】
■ 【详细分析】
■ 【改进建议代码示例】 {
"id": "filetype_spreadsheet_general",
"pattern": "表格|统计表|报表|名单|数据表|数据报表|明细",
"description": "Generic spreadsheets (fallback)",
"enabled": true,
"priority": 100
} |
|
/forcemerge |
|
This pr force merged! (status: blocked) |
file types and time references
Log: Improved Chinese search pattern matching for spreadsheets and time
references
Influence:
fix: 更新中文语义搜索匹配规则
Log: 改进电子表格和时间相关的中文搜索匹配
Influence:
Fixes: #370467 #370395 #370583