{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/bfreiband/writtenkitten/pulls/1","id":34987968,"html_url":"https://github.com/bfreiband/writtenkitten/pull/1","diff_url":"https://github.com/bfreiband/writtenkitten/pull/1.diff","patch_url":"https://github.com/bfreiband/writtenkitten/pull/1.patch","issue_url":"https://api.github.com/repos/bfreiband/writtenkitten/issues/1","number":1,"state":"open","locked":false,"title":"Add support to count Chinese characters","user":{"login":"wangzk","id":2674020,"avatar_url":"https://avatars.githubusercontent.com/u/2674020?v=3","gravatar_id":"","url":"https://api.github.com/users/wangzk","html_url":"https://github.com/wangzk","followers_url":"https://api.github.com/users/wangzk/followers","following_url":"https://api.github.com/users/wangzk/following{/other_user}","gists_url":"https://api.github.com/users/wangzk/gists{/gist_id}","starred_url":"https://api.github.com/users/wangzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangzk/subscriptions","organizations_url":"https://api.github.com/users/wangzk/orgs","repos_url":"https://api.github.com/users/wangzk/repos","events_url":"https://api.github.com/users/wangzk/events{/privacy}","received_events_url":"https://api.github.com/users/wangzk/received_events","type":"User","site_admin":false},"body":"I am a Chinese. I find writtenkitten is designed for English writing and it can not count Chinese characters correctly.\r\n\r\nIn Chinese writing, we often regard a single Chinese character as a \"word\" in word count.\r\nTherefore I add a pre-process in word count JS function in writtenkitten. The pre-process firstly transform each Chinese character into a English word ` hanzi `. Then the text will be counted in the previous way which count each word seperated by white-space character.\r\n\r\n","created_at":"2015-05-08T08:04:13Z","updated_at":"2015-05-08T08:04:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bfreiband/writtenkitten/pulls/1/commits","review_comments_url":"https://api.github.com/repos/bfreiband/writtenkitten/pulls/1/comments","review_comment_url":"https://api.github.com/repos/bfreiband/writtenkitten/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bfreiband/writtenkitten/issues/1/comments","statuses_url":"https://api.github.com/repos/bfreiband/writtenkitten/statuses/0c058b5060f13b192330cb7c682028411814dccf","head":{"label":"wangzk:master","ref":"master","sha":"0c058b5060f13b192330cb7c682028411814dccf","user":{"login":"wangzk","id":2674020,"avatar_url":"https://avatars.githubusercontent.com/u/2674020?v=3","gravatar_id":"","url":"https://api.github.com/users/wangzk","html_url":"https://github.com/wangzk","followers_url":"https://api.github.com/users/wangzk/followers","following_url":"https://api.github.com/users/wangzk/following{/other_user}","gists_url":"https://api.github.com/users/wangzk/gists{/gist_id}","starred_url":"https://api.github.com/users/wangzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangzk/subscriptions","organizations_url":"https://api.github.com/users/wangzk/orgs","repos_url":"https://api.github.com/users/wangzk/repos","events_url":"https://api.github.com/users/wangzk/events{/privacy}","received_events_url":"https://api.github.com/users/wangzk/received_events","type":"User","site_admin":false},"repo":{"id":34982644,"name":"writtenkitten","full_name":"wangzk/writtenkitten","owner":{"login":"wangzk","id":2674020,"avatar_url":"https://avatars.githubusercontent.com/u/2674020?v=3","gravatar_id":"","url":"https://api.github.com/users/wangzk","html_url":"https://github.com/wangzk","followers_url":"https://api.github.com/users/wangzk/followers","following_url":"https://api.github.com/users/wangzk/following{/other_user}","gists_url":"https://api.github.com/users/wangzk/gists{/gist_id}","starred_url":"https://api.github.com/users/wangzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangzk/subscriptions","organizations_url":"https://api.github.com/users/wangzk/orgs","repos_url":"https://api.github.com/users/wangzk/repos","events_url":"https://api.github.com/users/wangzk/events{/privacy}","received_events_url":"https://api.github.com/users/wangzk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wangzk/writtenkitten","description":"Written? Kitten!","fork":true,"url":"https://api.github.com/repos/wangzk/writtenkitten","forks_url":"https://api.github.com/repos/wangzk/writtenkitten/forks","keys_url":"https://api.github.com/repos/wangzk/writtenkitten/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wangzk/writtenkitten/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wangzk/writtenkitten/teams","hooks_url":"https://api.github.com/repos/wangzk/writtenkitten/hooks","issue_events_url":"https://api.github.com/repos/wangzk/writtenkitten/issues/events{/number}","events_url":"https://api.github.com/repos/wangzk/writtenkitten/events","assignees_url":"https://api.github.com/repos/wangzk/writtenkitten/assignees{/user}","branches_url":"https://api.github.com/repos/wangzk/writtenkitten/branches{/branch}","tags_url":"https://api.github.com/repos/wangzk/writtenkitten/tags","blobs_url":"https://api.github.com/repos/wangzk/writtenkitten/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wangzk/writtenkitten/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wangzk/writtenkitten/git/refs{/sha}","trees_url":"https://api.github.com/repos/wangzk/writtenkitten/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wangzk/writtenkitten/statuses/{sha}","languages_url":"https://api.github.com/repos/wangzk/writtenkitten/languages","stargazers_url":"https://api.github.com/repos/wangzk/writtenkitten/stargazers","contributors_url":"https://api.github.com/repos/wangzk/writtenkitten/contributors","subscribers_url":"https://api.github.com/repos/wangzk/writtenkitten/subscribers","subscription_url":"https://api.github.com/repos/wangzk/writtenkitten/subscription","commits_url":"https://api.github.com/repos/wangzk/writtenkitten/commits{/sha}","git_commits_url":"https://api.github.com/repos/wangzk/writtenkitten/git/commits{/sha}","comments_url":"https://api.github.com/repos/wangzk/writtenkitten/comments{/number}","issue_comment_url":"https://api.github.com/repos/wangzk/writtenkitten/issues/comments{/number}","contents_url":"https://api.github.com/repos/wangzk/writtenkitten/contents/{+path}","compare_url":"https://api.github.com/repos/wangzk/writtenkitten/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wangzk/writtenkitten/merges","archive_url":"https://api.github.com/repos/wangzk/writtenkitten/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wangzk/writtenkitten/downloads","issues_url":"https://api.github.com/repos/wangzk/writtenkitten/issues{/number}","pulls_url":"https://api.github.com/repos/wangzk/writtenkitten/pulls{/number}","milestones_url":"https://api.github.com/repos/wangzk/writtenkitten/milestones{/number}","notifications_url":"https://api.github.com/repos/wangzk/writtenkitten/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wangzk/writtenkitten/labels{/name}","releases_url":"https://api.github.com/repos/wangzk/writtenkitten/releases{/id}","created_at":"2015-05-03T10:50:23Z","updated_at":"2015-05-08T07:56:21Z","pushed_at":"2015-05-08T07:56:21Z","git_url":"git://github.com/wangzk/writtenkitten.git","ssh_url":"git@github.com:wangzk/writtenkitten.git","clone_url":"https://github.com/wangzk/writtenkitten.git","svn_url":"https://github.com/wangzk/writtenkitten","homepage":"http://writtenkitten.net/","size":109,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bfreiband:master","ref":"master","sha":"e181af4399bffc94ef8f09f9e952be78237902e3","user":{"login":"bfreiband","id":8038380,"avatar_url":"https://avatars.githubusercontent.com/u/8038380?v=3","gravatar_id":"","url":"https://api.github.com/users/bfreiband","html_url":"https://github.com/bfreiband","followers_url":"https://api.github.com/users/bfreiband/followers","following_url":"https://api.github.com/users/bfreiband/following{/other_user}","gists_url":"https://api.github.com/users/bfreiband/gists{/gist_id}","starred_url":"https://api.github.com/users/bfreiband/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfreiband/subscriptions","organizations_url":"https://api.github.com/users/bfreiband/orgs","repos_url":"https://api.github.com/users/bfreiband/repos","events_url":"https://api.github.com/users/bfreiband/events{/privacy}","received_events_url":"https://api.github.com/users/bfreiband/received_events","type":"User","site_admin":false},"repo":{"id":24211978,"name":"writtenkitten","full_name":"bfreiband/writtenkitten","owner":{"login":"bfreiband","id":8038380,"avatar_url":"https://avatars.githubusercontent.com/u/8038380?v=3","gravatar_id":"","url":"https://api.github.com/users/bfreiband","html_url":"https://github.com/bfreiband","followers_url":"https://api.github.com/users/bfreiband/followers","following_url":"https://api.github.com/users/bfreiband/following{/other_user}","gists_url":"https://api.github.com/users/bfreiband/gists{/gist_id}","starred_url":"https://api.github.com/users/bfreiband/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfreiband/subscriptions","organizations_url":"https://api.github.com/users/bfreiband/orgs","repos_url":"https://api.github.com/users/bfreiband/repos","events_url":"https://api.github.com/users/bfreiband/events{/privacy}","received_events_url":"https://api.github.com/users/bfreiband/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bfreiband/writtenkitten","description":"Written? Kitten!","fork":true,"url":"https://api.github.com/repos/bfreiband/writtenkitten","forks_url":"https://api.github.com/repos/bfreiband/writtenkitten/forks","keys_url":"https://api.github.com/repos/bfreiband/writtenkitten/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bfreiband/writtenkitten/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bfreiband/writtenkitten/teams","hooks_url":"https://api.github.com/repos/bfreiband/writtenkitten/hooks","issue_events_url":"https://api.github.com/repos/bfreiband/writtenkitten/issues/events{/number}","events_url":"https://api.github.com/repos/bfreiband/writtenkitten/events","assignees_url":"https://api.github.com/repos/bfreiband/writtenkitten/assignees{/user}","branches_url":"https://api.github.com/repos/bfreiband/writtenkitten/branches{/branch}","tags_url":"https://api.github.com/repos/bfreiband/writtenkitten/tags","blobs_url":"https://api.github.com/repos/bfreiband/writtenkitten/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bfreiband/writtenkitten/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bfreiband/writtenkitten/git/refs{/sha}","trees_url":"https://api.github.com/repos/bfreiband/writtenkitten/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bfreiband/writtenkitten/statuses/{sha}","languages_url":"https://api.github.com/repos/bfreiband/writtenkitten/languages","stargazers_url":"https://api.github.com/repos/bfreiband/writtenkitten/stargazers","contributors_url":"https://api.github.com/repos/bfreiband/writtenkitten/contributors","subscribers_url":"https://api.github.com/repos/bfreiband/writtenkitten/subscribers","subscription_url":"https://api.github.com/repos/bfreiband/writtenkitten/subscription","commits_url":"https://api.github.com/repos/bfreiband/writtenkitten/commits{/sha}","git_commits_url":"https://api.github.com/repos/bfreiband/writtenkitten/git/commits{/sha}","comments_url":"https://api.github.com/repos/bfreiband/writtenkitten/comments{/number}","issue_comment_url":"https://api.github.com/repos/bfreiband/writtenkitten/issues/comments{/number}","contents_url":"https://api.github.com/repos/bfreiband/writtenkitten/contents/{+path}","compare_url":"https://api.github.com/repos/bfreiband/writtenkitten/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bfreiband/writtenkitten/merges","archive_url":"https://api.github.com/repos/bfreiband/writtenkitten/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bfreiband/writtenkitten/downloads","issues_url":"https://api.github.com/repos/bfreiband/writtenkitten/issues{/number}","pulls_url":"https://api.github.com/repos/bfreiband/writtenkitten/pulls{/number}","milestones_url":"https://api.github.com/repos/bfreiband/writtenkitten/milestones{/number}","notifications_url":"https://api.github.com/repos/bfreiband/writtenkitten/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bfreiband/writtenkitten/labels{/name}","releases_url":"https://api.github.com/repos/bfreiband/writtenkitten/releases{/id}","created_at":"2014-09-19T01:42:39Z","updated_at":"2015-03-31T02:13:30Z","pushed_at":"2015-03-31T02:13:29Z","git_url":"git://github.com/bfreiband/writtenkitten.git","ssh_url":"git@github.com:bfreiband/writtenkitten.git","clone_url":"https://github.com/bfreiband/writtenkitten.git","svn_url":"https://github.com/bfreiband/writtenkitten","homepage":"http://writtenkitten.net/","size":106,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bfreiband/writtenkitten/pulls/1"},"html":{"href":"https://github.com/bfreiband/writtenkitten/pull/1"},"issue":{"href":"https://api.github.com/repos/bfreiband/writtenkitten/issues/1"},"comments":{"href":"https://api.github.com/repos/bfreiband/writtenkitten/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/bfreiband/writtenkitten/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/bfreiband/writtenkitten/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bfreiband/writtenkitten/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/bfreiband/writtenkitten/statuses/0c058b5060f13b192330cb7c682028411814dccf"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}