{"action":"created","issue":{"url":"https://api.github.com/repos/hankcs/HanLP/issues/943","repository_url":"https://api.github.com/repos/hankcs/HanLP","labels_url":"https://api.github.com/repos/hankcs/HanLP/issues/943/labels{/name}","comments_url":"https://api.github.com/repos/hankcs/HanLP/issues/943/comments","events_url":"https://api.github.com/repos/hankcs/HanLP/issues/943/events","html_url":"https://github.com/hankcs/HanLP/issues/943","id":354971000,"node_id":"MDU6SXNzdWUzNTQ5NzEwMDA=","number":943,"title":"请教下NLPTokenizer切分短网址问题","user":{"login":"zymming","id":6130591,"node_id":"MDQ6VXNlcjYxMzA1OTE=","avatar_url":"https://avatars0.githubusercontent.com/u/6130591?v=4","gravatar_id":"","url":"https://api.github.com/users/zymming","html_url":"https://github.com/zymming","followers_url":"https://api.github.com/users/zymming/followers","following_url":"https://api.github.com/users/zymming/following{/other_user}","gists_url":"https://api.github.com/users/zymming/gists{/gist_id}","starred_url":"https://api.github.com/users/zymming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zymming/subscriptions","organizations_url":"https://api.github.com/users/zymming/orgs","repos_url":"https://api.github.com/users/zymming/repos","events_url":"https://api.github.com/users/zymming/events{/privacy}","received_events_url":"https://api.github.com/users/zymming/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-29T02:27:03Z","updated_at":"2018-08-29T02:31:25Z","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] 我在此括号内输入x打钩，代表上述事项确认完毕。\r\n\r\n## 版本号\r\n1.6.8\r\n\r\n当前最新版本号是：\r\n我使用的版本是：1.6.8\r\n\r\n<!--以上属于必填项，以下可自由发挥-->\r\n\r\n## 我的问题\r\n集卡你最棒！家人和朋友越多，集齐瓜分奖金越多，本周集卡火热进行中，一起来 t.cn/RdHCuCh 退订回T\r\n短网址前后有空格，切分的词是：一起来 t.cn/rdhcuch 退订/d,。\r\n这个切分是不是有问题？我把空格去掉后切分是这样的\r\n一起/d, 来t/v, ./v, cn/rdhcuch/nx, 退订/v\r\n来t和.号切分成动词，怎么会这样样切分呢？\r\n\r\n有没有补救的办法\r\n\r\n## 复现问题\r\nSystem.out.println(NLPTokenizer\r\n            .segment(\"集卡你最棒！家人和朋友越多，集齐瓜分奖金越多，本周集卡火热进行中，一起来 t.cn/RdHCuCh 退订回T\"));\r\n\r\nSystem.out.println(NLPTokenizer\r\n            .segment(\"集卡你最棒！家人和朋友越多，集齐瓜分奖金越多，本周集卡火热进行中，一起来 t.cn/RdHCuCh退订回T\"));\r\n\r\n### 步骤\r\n\r\n1. 首先……\r\n2. 然后……\r\n3. 接着……\r\n\r\n### 触发代码\r\n\r\n```\r\n    public void testIssue1234() throws Exception\r\n    {\r\n        CustomDictionary.add(\"用户词语\");\r\n        System.out.println(StandardTokenizer.segment(\"触发问题的句子\"));\r\n    }\r\n```\r\n### 期望输出\r\n\r\n<!-- 你希望输出什么样的正确结果？-->\r\n\r\n```\r\n期望输出\r\n```\r\n\r\n### 实际输出\r\n\r\n<!-- HanLP实际输出了什么？产生了什么效果？错在哪里？-->\r\n\r\n```\r\n实际输出\r\n```\r\n\r\n## 其他信息\r\n\r\n<!-- 任何可能有用的信息，包括截图、日志、配置文件、相关issue等等。-->\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hankcs/HanLP/issues/comments/416803182","html_url":"https://github.com/hankcs/HanLP/issues/943#issuecomment-416803182","issue_url":"https://api.github.com/repos/hankcs/HanLP/issues/943","id":416803182,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjgwMzE4Mg==","user":{"login":"hankcs","id":5326890,"node_id":"MDQ6VXNlcjUzMjY4OTA=","avatar_url":"https://avatars0.githubusercontent.com/u/5326890?v=4","gravatar_id":"","url":"https://api.github.com/users/hankcs","html_url":"https://github.com/hankcs","followers_url":"https://api.github.com/users/hankcs/followers","following_url":"https://api.github.com/users/hankcs/following{/other_user}","gists_url":"https://api.github.com/users/hankcs/gists{/gist_id}","starred_url":"https://api.github.com/users/hankcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hankcs/subscriptions","organizations_url":"https://api.github.com/users/hankcs/orgs","repos_url":"https://api.github.com/users/hankcs/repos","events_url":"https://api.github.com/users/hankcs/events{/privacy}","received_events_url":"https://api.github.com/users/hankcs/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T02:31:25Z","updated_at":"2018-08-29T02:31:25Z","author_association":"OWNER","body":"举一反三：https://github.com/hankcs/HanLP/blob/master/src/main/java/com/hankcs/hanlp/tokenizer/URLTokenizer.java"}}
{"actor":{"display_login":"hankcs"}}