{"action":"created","comment":{"url":"https://api.github.com/repos/mambu-gmbh/number2words/pulls/comments/25247278","id":25247278,"diff_hunk":"@@ -0,0 +1,83 @@\n+package com.mambu.number2words.internal.common;\n+\n+import java.math.BigDecimal;\n+\n+import com.mambu.number2words.api.NumberTranscriber;\n+import com.mambu.number2words.parsing.interfaces.NumberTokenizer;\n+import com.mambu.number2words.parsing.interfaces.TranscriptionContext;\n+import com.mambu.number2words.parsing.interfaces.ValueMapping;\n+import com.mambu.number2words.parsing.interfaces.ValueToken;\n+import com.mambu.number2words.parsing.interfaces.Visitor;\n+\n+/**\n+ * <p>\n+ * Abstract transcriber that provides default methods to tokenize and transform {@link BigDecimal}s into {@link String\n+ * words}.\n+ * <p>\n+ * It exposes the combined functionality of a {@link NumberTokenizer} and {@link TranscriptionContext} that is defined\n+ * over an enumeration of {@link ValueMapping} instances. Subclasses will provider an appropriate {@link Visitor","path":"src/java/com/mambu/number2words/internal/common/AbstractNumberTranscriber.java","position":18,"original_position":18,"commit_id":"4491c5180a2b077746f442398d48cf2561bbb37b","original_commit_id":"4491c5180a2b077746f442398d48cf2561bbb37b","user":{"login":"ipenciuc","id":1420499,"avatar_url":"https://avatars.githubusercontent.com/u/1420499?v=3","gravatar_id":"","url":"https://api.github.com/users/ipenciuc","html_url":"https://github.com/ipenciuc","followers_url":"https://api.github.com/users/ipenciuc/followers","following_url":"https://api.github.com/users/ipenciuc/following{/other_user}","gists_url":"https://api.github.com/users/ipenciuc/gists{/gist_id}","starred_url":"https://api.github.com/users/ipenciuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipenciuc/subscriptions","organizations_url":"https://api.github.com/users/ipenciuc/orgs","repos_url":"https://api.github.com/users/ipenciuc/repos","events_url":"https://api.github.com/users/ipenciuc/events{/privacy}","received_events_url":"https://api.github.com/users/ipenciuc/received_events","type":"User","site_admin":false},"body":"\"Subclasses will provide\"","created_at":"2015-02-24T12:05:14Z","updated_at":"2015-02-24T12:05:14Z","html_url":"https://github.com/mambu-gmbh/number2words/pull/2#discussion_r25247278","pull_request_url":"https://api.github.com/repos/mambu-gmbh/number2words/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/mambu-gmbh/number2words/pulls/comments/25247278"},"html":{"href":"https://github.com/mambu-gmbh/number2words/pull/2#discussion_r25247278"},"pull_request":{"href":"https://api.github.com/repos/mambu-gmbh/number2words/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/mambu-gmbh/number2words/pulls/2","id":29011549,"html_url":"https://github.com/mambu-gmbh/number2words/pull/2","diff_url":"https://github.com/mambu-gmbh/number2words/pull/2.diff","patch_url":"https://github.com/mambu-gmbh/number2words/pull/2.patch","issue_url":"https://api.github.com/repos/mambu-gmbh/number2words/issues/2","number":2,"state":"closed","locked":false,"title":"MBU-7747 Create a Chinese implementation for the numbers2words library","user":{"login":"aatasiei","id":10707709,"avatar_url":"https://avatars.githubusercontent.com/u/10707709?v=3","gravatar_id":"","url":"https://api.github.com/users/aatasiei","html_url":"https://github.com/aatasiei","followers_url":"https://api.github.com/users/aatasiei/followers","following_url":"https://api.github.com/users/aatasiei/following{/other_user}","gists_url":"https://api.github.com/users/aatasiei/gists{/gist_id}","starred_url":"https://api.github.com/users/aatasiei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aatasiei/subscriptions","organizations_url":"https://api.github.com/users/aatasiei/orgs","repos_url":"https://api.github.com/users/aatasiei/repos","events_url":"https://api.github.com/users/aatasiei/events{/privacy}","received_events_url":"https://api.github.com/users/aatasiei/received_events","type":"User","site_admin":false},"body":"Added support for Simplified Chinese using Financial numerals.\r\nAbstracted what was common between English and Simplified Chinese.\r\nDivided tokenisation into group parsing and sub-group parsing.\r\nAdded additional tests for Simplified Chinese.","created_at":"2015-02-10T14:38:02Z","updated_at":"2015-02-24T12:05:14Z","closed_at":"2015-02-10T14:41:49Z","merged_at":"2015-02-10T14:41:49Z","merge_commit_sha":"6081e7d2f80486018e77c6c1c40052b4cd687593","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mambu-gmbh/number2words/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mambu-gmbh/number2words/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mambu-gmbh/number2words/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mambu-gmbh/number2words/issues/2/comments","statuses_url":"https://api.github.com/repos/mambu-gmbh/number2words/statuses/4491c5180a2b077746f442398d48cf2561bbb37b","head":{"label":"aatasiei:master","ref":"master","sha":"4491c5180a2b077746f442398d48cf2561bbb37b","user":{"login":"aatasiei","id":10707709,"avatar_url":"https://avatars.githubusercontent.com/u/10707709?v=3","gravatar_id":"","url":"https://api.github.com/users/aatasiei","html_url":"https://github.com/aatasiei","followers_url":"https://api.github.com/users/aatasiei/followers","following_url":"https://api.github.com/users/aatasiei/following{/other_user}","gists_url":"https://api.github.com/users/aatasiei/gists{/gist_id}","starred_url":"https://api.github.com/users/aatasiei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aatasiei/subscriptions","organizations_url":"https://api.github.com/users/aatasiei/orgs","repos_url":"https://api.github.com/users/aatasiei/repos","events_url":"https://api.github.com/users/aatasiei/events{/privacy}","received_events_url":"https://api.github.com/users/aatasiei/received_events","type":"User","site_admin":false},"repo":{"id":29858570,"name":"number2words","full_name":"aatasiei/number2words","owner":{"login":"aatasiei","id":10707709,"avatar_url":"https://avatars.githubusercontent.com/u/10707709?v=3","gravatar_id":"","url":"https://api.github.com/users/aatasiei","html_url":"https://github.com/aatasiei","followers_url":"https://api.github.com/users/aatasiei/followers","following_url":"https://api.github.com/users/aatasiei/following{/other_user}","gists_url":"https://api.github.com/users/aatasiei/gists{/gist_id}","starred_url":"https://api.github.com/users/aatasiei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aatasiei/subscriptions","organizations_url":"https://api.github.com/users/aatasiei/orgs","repos_url":"https://api.github.com/users/aatasiei/repos","events_url":"https://api.github.com/users/aatasiei/events{/privacy}","received_events_url":"https://api.github.com/users/aatasiei/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aatasiei/number2words","description":"Java classes that can be used to convert numbers into words in different languages","fork":true,"url":"https://api.github.com/repos/aatasiei/number2words","forks_url":"https://api.github.com/repos/aatasiei/number2words/forks","keys_url":"https://api.github.com/repos/aatasiei/number2words/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aatasiei/number2words/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aatasiei/number2words/teams","hooks_url":"https://api.github.com/repos/aatasiei/number2words/hooks","issue_events_url":"https://api.github.com/repos/aatasiei/number2words/issues/events{/number}","events_url":"https://api.github.com/repos/aatasiei/number2words/events","assignees_url":"https://api.github.com/repos/aatasiei/number2words/assignees{/user}","branches_url":"https://api.github.com/repos/aatasiei/number2words/branches{/branch}","tags_url":"https://api.github.com/repos/aatasiei/number2words/tags","blobs_url":"https://api.github.com/repos/aatasiei/number2words/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aatasiei/number2words/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aatasiei/number2words/git/refs{/sha}","trees_url":"https://api.github.com/repos/aatasiei/number2words/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aatasiei/number2words/statuses/{sha}","languages_url":"https://api.github.com/repos/aatasiei/number2words/languages","stargazers_url":"https://api.github.com/repos/aatasiei/number2words/stargazers","contributors_url":"https://api.github.com/repos/aatasiei/number2words/contributors","subscribers_url":"https://api.github.com/repos/aatasiei/number2words/subscribers","subscription_url":"https://api.github.com/repos/aatasiei/number2words/subscription","commits_url":"https://api.github.com/repos/aatasiei/number2words/commits{/sha}","git_commits_url":"https://api.github.com/repos/aatasiei/number2words/git/commits{/sha}","comments_url":"https://api.github.com/repos/aatasiei/number2words/comments{/number}","issue_comment_url":"https://api.github.com/repos/aatasiei/number2words/issues/comments{/number}","contents_url":"https://api.github.com/repos/aatasiei/number2words/contents/{+path}","compare_url":"https://api.github.com/repos/aatasiei/number2words/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aatasiei/number2words/merges","archive_url":"https://api.github.com/repos/aatasiei/number2words/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aatasiei/number2words/downloads","issues_url":"https://api.github.com/repos/aatasiei/number2words/issues{/number}","pulls_url":"https://api.github.com/repos/aatasiei/number2words/pulls{/number}","milestones_url":"https://api.github.com/repos/aatasiei/number2words/milestones{/number}","notifications_url":"https://api.github.com/repos/aatasiei/number2words/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aatasiei/number2words/labels{/name}","releases_url":"https://api.github.com/repos/aatasiei/number2words/releases{/id}","created_at":"2015-01-26T11:44:04Z","updated_at":"2015-02-19T09:56:50Z","pushed_at":"2015-02-19T09:56:50Z","git_url":"git://github.com/aatasiei/number2words.git","ssh_url":"git@github.com:aatasiei/number2words.git","clone_url":"https://github.com/aatasiei/number2words.git","svn_url":"https://github.com/aatasiei/number2words","homepage":null,"size":399,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"mambu-gmbh:master","ref":"master","sha":"db59ea626f9be2b676152d166c2fc8469c7945b2","user":{"login":"mambu-gmbh","id":1001313,"avatar_url":"https://avatars.githubusercontent.com/u/1001313?v=3","gravatar_id":"","url":"https://api.github.com/users/mambu-gmbh","html_url":"https://github.com/mambu-gmbh","followers_url":"https://api.github.com/users/mambu-gmbh/followers","following_url":"https://api.github.com/users/mambu-gmbh/following{/other_user}","gists_url":"https://api.github.com/users/mambu-gmbh/gists{/gist_id}","starred_url":"https://api.github.com/users/mambu-gmbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mambu-gmbh/subscriptions","organizations_url":"https://api.github.com/users/mambu-gmbh/orgs","repos_url":"https://api.github.com/users/mambu-gmbh/repos","events_url":"https://api.github.com/users/mambu-gmbh/events{/privacy}","received_events_url":"https://api.github.com/users/mambu-gmbh/received_events","type":"Organization","site_admin":false},"repo":{"id":29526383,"name":"number2words","full_name":"mambu-gmbh/number2words","owner":{"login":"mambu-gmbh","id":1001313,"avatar_url":"https://avatars.githubusercontent.com/u/1001313?v=3","gravatar_id":"","url":"https://api.github.com/users/mambu-gmbh","html_url":"https://github.com/mambu-gmbh","followers_url":"https://api.github.com/users/mambu-gmbh/followers","following_url":"https://api.github.com/users/mambu-gmbh/following{/other_user}","gists_url":"https://api.github.com/users/mambu-gmbh/gists{/gist_id}","starred_url":"https://api.github.com/users/mambu-gmbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mambu-gmbh/subscriptions","organizations_url":"https://api.github.com/users/mambu-gmbh/orgs","repos_url":"https://api.github.com/users/mambu-gmbh/repos","events_url":"https://api.github.com/users/mambu-gmbh/events{/privacy}","received_events_url":"https://api.github.com/users/mambu-gmbh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mambu-gmbh/number2words","description":"Java classes that can be used to convert numbers into words in different languages","fork":false,"url":"https://api.github.com/repos/mambu-gmbh/number2words","forks_url":"https://api.github.com/repos/mambu-gmbh/number2words/forks","keys_url":"https://api.github.com/repos/mambu-gmbh/number2words/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mambu-gmbh/number2words/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mambu-gmbh/number2words/teams","hooks_url":"https://api.github.com/repos/mambu-gmbh/number2words/hooks","issue_events_url":"https://api.github.com/repos/mambu-gmbh/number2words/issues/events{/number}","events_url":"https://api.github.com/repos/mambu-gmbh/number2words/events","assignees_url":"https://api.github.com/repos/mambu-gmbh/number2words/assignees{/user}","branches_url":"https://api.github.com/repos/mambu-gmbh/number2words/branches{/branch}","tags_url":"https://api.github.com/repos/mambu-gmbh/number2words/tags","blobs_url":"https://api.github.com/repos/mambu-gmbh/number2words/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mambu-gmbh/number2words/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mambu-gmbh/number2words/git/refs{/sha}","trees_url":"https://api.github.com/repos/mambu-gmbh/number2words/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mambu-gmbh/number2words/statuses/{sha}","languages_url":"https://api.github.com/repos/mambu-gmbh/number2words/languages","stargazers_url":"https://api.github.com/repos/mambu-gmbh/number2words/stargazers","contributors_url":"https://api.github.com/repos/mambu-gmbh/number2words/contributors","subscribers_url":"https://api.github.com/repos/mambu-gmbh/number2words/subscribers","subscription_url":"https://api.github.com/repos/mambu-gmbh/number2words/subscription","commits_url":"https://api.github.com/repos/mambu-gmbh/number2words/commits{/sha}","git_commits_url":"https://api.github.com/repos/mambu-gmbh/number2words/git/commits{/sha}","comments_url":"https://api.github.com/repos/mambu-gmbh/number2words/comments{/number}","issue_comment_url":"https://api.github.com/repos/mambu-gmbh/number2words/issues/comments{/number}","contents_url":"https://api.github.com/repos/mambu-gmbh/number2words/contents/{+path}","compare_url":"https://api.github.com/repos/mambu-gmbh/number2words/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mambu-gmbh/number2words/merges","archive_url":"https://api.github.com/repos/mambu-gmbh/number2words/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mambu-gmbh/number2words/downloads","issues_url":"https://api.github.com/repos/mambu-gmbh/number2words/issues{/number}","pulls_url":"https://api.github.com/repos/mambu-gmbh/number2words/pulls{/number}","milestones_url":"https://api.github.com/repos/mambu-gmbh/number2words/milestones{/number}","notifications_url":"https://api.github.com/repos/mambu-gmbh/number2words/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mambu-gmbh/number2words/labels{/name}","releases_url":"https://api.github.com/repos/mambu-gmbh/number2words/releases{/id}","created_at":"2015-01-20T11:22:25Z","updated_at":"2015-02-19T09:10:24Z","pushed_at":"2015-02-19T09:10:22Z","git_url":"git://github.com/mambu-gmbh/number2words.git","ssh_url":"git@github.com:mambu-gmbh/number2words.git","clone_url":"https://github.com/mambu-gmbh/number2words.git","svn_url":"https://github.com/mambu-gmbh/number2words","homepage":null,"size":383,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mambu-gmbh/number2words/pulls/2"},"html":{"href":"https://github.com/mambu-gmbh/number2words/pull/2"},"issue":{"href":"https://api.github.com/repos/mambu-gmbh/number2words/issues/2"},"comments":{"href":"https://api.github.com/repos/mambu-gmbh/number2words/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mambu-gmbh/number2words/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mambu-gmbh/number2words/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mambu-gmbh/number2words/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mambu-gmbh/number2words/statuses/4491c5180a2b077746f442398d48cf2561bbb37b"}}}}