{"action":"created","issue":{"url":"https://api.github.com/repos/hankcs/HanLP/issues/285","repository_url":"https://api.github.com/repos/hankcs/HanLP","labels_url":"https://api.github.com/repos/hankcs/HanLP/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/hankcs/HanLP/issues/285/comments","events_url":"https://api.github.com/repos/hankcs/HanLP/issues/285/events","html_url":"https://github.com/hankcs/HanLP/issues/285","id":168500860,"number":285,"title":"CRFmodel计算结果与crf++的crf_test结果不一致。","user":{"login":"liulhdarks","id":7029328,"avatar_url":"https://avatars2.githubusercontent.com/u/7029328?v=4","gravatar_id":"","url":"https://api.github.com/users/liulhdarks","html_url":"https://github.com/liulhdarks","followers_url":"https://api.github.com/users/liulhdarks/followers","following_url":"https://api.github.com/users/liulhdarks/following{/other_user}","gists_url":"https://api.github.com/users/liulhdarks/gists{/gist_id}","starred_url":"https://api.github.com/users/liulhdarks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liulhdarks/subscriptions","organizations_url":"https://api.github.com/users/liulhdarks/orgs","repos_url":"https://api.github.com/users/liulhdarks/repos","events_url":"https://api.github.com/users/liulhdarks/events{/privacy}","received_events_url":"https://api.github.com/users/liulhdarks/received_events","type":"User","site_admin":false},"labels":[{"id":136114038,"url":"https://api.github.com/repos/hankcs/HanLP/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-07-31T04:27:15Z","updated_at":"2017-08-29T06:40:49Z","closed_at":null,"body":"CRFmodel加载了crf++ 0.58版本训练出来的模型后，tag后的结果与采用该crf++自带的crf_test计算出来的结果不一样。这是为什么呢，算法有什么不一样的地方吗？从结果来看crf_test的结果要准确很多，CRFmodel计算出来的结果很多是错误的。\n`CRFModel model = CRFModel.loadTxt(\"F:\\\\studio\\\\CRF++-0.58\\\\CRF++-0.58\\\\example\\\\model.txt\",\n                new CRFModel(new DoubleArrayTrie<FeatureFunction>()));\n        System.out.println(model);\n        Table table = new Table();\n        table.v = new String[][]{\n            {\"微鲸\", \"ns\", null},\n            {\"创新\", \"vn\", null},\n            {\"营销\",  \"n\", null},\n            {\"抢占\",  \"v\", null},\n            {\"电视\",  \"n\", null},\n            {\"先机\",  \"n\", null}\n        };\n        model.tag(table);\n        System.out.println(table);`\n\n[crf_train.txt](https://github.com/hankcs/HanLP/files/392253/crf_train.txt)\n[crf_test.txt](https://github.com/hankcs/HanLP/files/392252/crf_test.txt)\n"},"comment":{"url":"https://api.github.com/repos/hankcs/HanLP/issues/comments/325569777","html_url":"https://github.com/hankcs/HanLP/issues/285#issuecomment-325569777","issue_url":"https://api.github.com/repos/hankcs/HanLP/issues/285","id":325569777,"user":{"login":"tangjie010101","id":18567513,"avatar_url":"https://avatars3.githubusercontent.com/u/18567513?v=4","gravatar_id":"","url":"https://api.github.com/users/tangjie010101","html_url":"https://github.com/tangjie010101","followers_url":"https://api.github.com/users/tangjie010101/followers","following_url":"https://api.github.com/users/tangjie010101/following{/other_user}","gists_url":"https://api.github.com/users/tangjie010101/gists{/gist_id}","starred_url":"https://api.github.com/users/tangjie010101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangjie010101/subscriptions","organizations_url":"https://api.github.com/users/tangjie010101/orgs","repos_url":"https://api.github.com/users/tangjie010101/repos","events_url":"https://api.github.com/users/tangjie010101/events{/privacy}","received_events_url":"https://api.github.com/users/tangjie010101/received_events","type":"User","site_admin":false},"created_at":"2017-08-29T06:40:49Z","updated_at":"2017-08-29T06:40:49Z","body":"@liulhdarks CFR解码问题参考后解决了吗"}}
{"actor":{"display_login":"tangjie010101"}}