-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
69 lines (65 loc) · 1.76 KB
/
config.json
File metadata and controls
69 lines (65 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"input_dir": "input",
"output_dir": "output",
"temp_dir": "temp",
"log_level": "INFO",
"log_file": "stoneshard_processor.log",
"concurrency": 4,
"database": {
"type": "json",
"mongodb_uri": "mongodb://localhost:27017/",
"mongodb_db": "stoneshard",
"sqlite_path": "stoneshard.db",
"batch_size": 100,
"memory_limit_mb": 500,
"use_streaming": true
},
"processors": {
"character": {
"enabled": true,
"input_pattern": "characters/*.html",
"keywords": ["职业", "属性", "技能树", "特性"]
},
"skill": {
"enabled": true,
"input_pattern": "skills/*.html",
"keywords": ["技能", "效果", "冷却", "消耗"]
},
"item": {
"enabled": true,
"input_pattern": "items/*.html",
"categories": ["武器", "护甲", "消耗品", "材料", "宝石"],
"keywords": ["类型", "伤害", "防御", "效果", "价值"]
},
"enemy": {
"enabled": true,
"input_pattern": "enemies/*.html",
"keywords": ["生命值", "攻击", "防御", "弱点", "掉落物"]
},
"location": {
"enabled": true,
"input_pattern": "locations/*.html",
"keywords": ["区域", "NPC", "资源", "任务"]
},
"quest": {
"enabled": true,
"input_pattern": "quests/*.html",
"keywords": ["目标", "奖励", "前置条件", "步骤"]
},
"relation": {
"enabled": true,
"relation_types": ["角色-技能", "物品-敌人", "地点-任务", "任务-奖励"]
}
},
"analysis": {
"enabled": true,
"generate_graphs": true,
"generate_stats": true,
"export_formats": ["json", "csv", "html"]
},
"export": {
"formats": ["json", "csv", "html"],
"compress": false,
"pretty_json": true
}
}