{"action":"created","issue":{"url":"https://api.github.com/repos/hankcs/HanLP/issues/753","repository_url":"https://api.github.com/repos/hankcs/HanLP","labels_url":"https://api.github.com/repos/hankcs/HanLP/issues/753/labels{/name}","comments_url":"https://api.github.com/repos/hankcs/HanLP/issues/753/comments","events_url":"https://api.github.com/repos/hankcs/HanLP/issues/753/events","html_url":"https://github.com/hankcs/HanLP/issues/753","id":292640320,"number":753,"title":"自定义词典 持久化问题","user":{"login":"872601188","id":8531862,"avatar_url":"https://avatars3.githubusercontent.com/u/8531862?v=4","gravatar_id":"","url":"https://api.github.com/users/872601188","html_url":"https://github.com/872601188","followers_url":"https://api.github.com/users/872601188/followers","following_url":"https://api.github.com/users/872601188/following{/other_user}","gists_url":"https://api.github.com/users/872601188/gists{/gist_id}","starred_url":"https://api.github.com/users/872601188/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/872601188/subscriptions","organizations_url":"https://api.github.com/users/872601188/orgs","repos_url":"https://api.github.com/users/872601188/repos","events_url":"https://api.github.com/users/872601188/events{/privacy}","received_events_url":"https://api.github.com/users/872601188/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-30T03:22:42Z","updated_at":"2018-02-07T13:57:37Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n注意事项和版本号必填，否则不回复。若希望尽快得到回复，请按模板认真填写，谢谢合作。\r\n-->\r\n\r\n## 注意事项\r\n请确认下列注意事项：\r\n\r\n* 我已仔细阅读下列文档，都没有找到答案：\r\n  - [首页文档](https://github.com/hankcs/HanLP)\r\n  - [wiki](https://github.com/hankcs/HanLP/wiki)\r\n  - [常见问题](https://github.com/hankcs/HanLP/wiki/FAQ)\r\n* 我已经通过[Google](https://www.google.com/#newwindow=1&q=HanLP)和[issue区检索功能](https://github.com/hankcs/HanLP/issues)搜索了我的问题，也没有找到答案。\r\n* 我明白开源社区是出于兴趣爱好聚集起来的自由社区，不承担任何责任或义务。我会礼貌发言，向每一个帮助我的人表示感谢。\r\n* [ ] 我在此括号内输入x打钩，代表上述事项确认完毕。\r\n\r\n## 版本号\r\n<!-- 发行版请注明jar文件名去掉拓展名的部分；GitHub仓库版请注明master还是portable分支 -->\r\n\r\n当前最新版本号是：1.5.3\r\n我使用的版本是：1.5.3\r\n\r\n<!--以上属于必填项，以下可自由发挥-->\r\n\r\n## 我的问题\r\n1、自定义词典持久化好像官方没有给出最优做法，参考 问题  [#182#](https://github.com/hankcs/HanLP/issues/182)  需要维护 CustomDictionary.txt 文件，是需要自己通过IO操作文件 ； \r\n\r\n2、在配置文件中增加 CustomDictionaryPath=data/dictionary/custom/CustomDictionary.txt; **# mydict.txt;** 自定义词典文件，没有效果，生成的缓存文件也没有，是否还需要有其他操作，或者需要单独生生成 \r\n\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/hankcs/HanLP/issues/comments/363776449","html_url":"https://github.com/hankcs/HanLP/issues/753#issuecomment-363776449","issue_url":"https://api.github.com/repos/hankcs/HanLP/issues/753","id":363776449,"user":{"login":"TylunasLi","id":22093949,"avatar_url":"https://avatars2.githubusercontent.com/u/22093949?v=4","gravatar_id":"","url":"https://api.github.com/users/TylunasLi","html_url":"https://github.com/TylunasLi","followers_url":"https://api.github.com/users/TylunasLi/followers","following_url":"https://api.github.com/users/TylunasLi/following{/other_user}","gists_url":"https://api.github.com/users/TylunasLi/gists{/gist_id}","starred_url":"https://api.github.com/users/TylunasLi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylunasLi/subscriptions","organizations_url":"https://api.github.com/users/TylunasLi/orgs","repos_url":"https://api.github.com/users/TylunasLi/repos","events_url":"https://api.github.com/users/TylunasLi/events{/privacy}","received_events_url":"https://api.github.com/users/TylunasLi/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T13:57:37Z","updated_at":"2018-02-07T13:57:37Z","author_association":"CONTRIBUTOR","body":"你阅读的那个回答时间有些老了。看hanlp.properties说明正确填写，现在支持读取配置文件的其他txt和csv（词语中不能有半角逗号），完成后清除缓存。"}}
{"actor":{"display_login":"TylunasLi"}}