// ... existing code ... # 在加载模型后添加自定义词典 jieba.load_userdict("custom_dict.txt") # 文件中包含: 花呗 n // ... existing code ...