{"action":"created","comment":{"url":"https://api.github.com/repos/google/personfinder/pulls/comments/40651864","id":40651864,"diff_hunk":"@@ -100,27 +115,17 @@ def romanize_word(word):\n         script varianted word\n     \"\"\"\n     if not word:\n-        return word\n+        return []\n \n+    yomigana_list = []\n     if has_kanji(word):\n-        word = romanize_japanese_name_by_name_dict(word)\n-        word = romanize_japanese_location(word)\n+        yomigana_list = romanize_japanese_name_by_name_dict(word)\n+        yomigana_list.extend(romanize_japanese_location(word))\n \n     if jautils.should_normalize(word):\n-        hiragana_word = jautils.normalize(word)\n-        return jautils.hiragana_to_romaji(hiragana_word)\n-    romanized_word = unidecode(word)\n-    return romanized_word.strip()\n+            hiragana_word = jautils.normalize(word)","path":"app/script_variant.py","position":103,"original_position":103,"commit_id":"07230e054c1575a97cb57557d7b9cb86fef6cb57","original_commit_id":"fa6bac03485885ce1b1d74b2fe273e94ae1c72fb","user":{"login":"prazuma","id":7258066,"avatar_url":"https://avatars.githubusercontent.com/u/7258066?v=3","gravatar_id":"","url":"https://api.github.com/users/prazuma","html_url":"https://github.com/prazuma","followers_url":"https://api.github.com/users/prazuma/followers","following_url":"https://api.github.com/users/prazuma/following{/other_user}","gists_url":"https://api.github.com/users/prazuma/gists{/gist_id}","starred_url":"https://api.github.com/users/prazuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prazuma/subscriptions","organizations_url":"https://api.github.com/users/prazuma/orgs","repos_url":"https://api.github.com/users/prazuma/repos","events_url":"https://api.github.com/users/prazuma/events{/privacy}","received_events_url":"https://api.github.com/users/prazuma/received_events","type":"User","site_admin":false},"body":"done","created_at":"2015-09-29T09:36:11Z","updated_at":"2015-09-29T09:36:11Z","html_url":"https://github.com/google/personfinder/pull/177#discussion_r40651864","pull_request_url":"https://api.github.com/repos/google/personfinder/pulls/177","_links":{"self":{"href":"https://api.github.com/repos/google/personfinder/pulls/comments/40651864"},"html":{"href":"https://github.com/google/personfinder/pull/177#discussion_r40651864"},"pull_request":{"href":"https://api.github.com/repos/google/personfinder/pulls/177"}}},"pull_request":{"url":"https://api.github.com/repos/google/personfinder/pulls/177","id":45873301,"html_url":"https://github.com/google/personfinder/pull/177","diff_url":"https://github.com/google/personfinder/pull/177.diff","patch_url":"https://github.com/google/personfinder/pull/177.patch","issue_url":"https://api.github.com/repos/google/personfinder/issues/177","number":177,"state":"open","locked":false,"title":"search by multi reading#67","user":{"login":"prazuma","id":7258066,"avatar_url":"https://avatars.githubusercontent.com/u/7258066?v=3","gravatar_id":"","url":"https://api.github.com/users/prazuma","html_url":"https://github.com/prazuma","followers_url":"https://api.github.com/users/prazuma/followers","following_url":"https://api.github.com/users/prazuma/following{/other_user}","gists_url":"https://api.github.com/users/prazuma/gists{/gist_id}","starred_url":"https://api.github.com/users/prazuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prazuma/subscriptions","organizations_url":"https://api.github.com/users/prazuma/orgs","repos_url":"https://api.github.com/users/prazuma/repos","events_url":"https://api.github.com/users/prazuma/events{/privacy}","received_events_url":"https://api.github.com/users/prazuma/received_events","type":"User","site_admin":false},"body":"- record [name = 萩原] can be searched by \"hagiwara\" or \"ogiwara\"\r\n- demo: http://pfsupportmulti-1078.appspot.com/global/home.html","created_at":"2015-09-24T08:58:30Z","updated_at":"2015-09-29T09:36:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c93a8a47df4ce48adc2bf707d7b6eb1c7bfd322","assignee":{"login":"gimite","id":15363,"avatar_url":"https://avatars.githubusercontent.com/u/15363?v=3","gravatar_id":"","url":"https://api.github.com/users/gimite","html_url":"https://github.com/gimite","followers_url":"https://api.github.com/users/gimite/followers","following_url":"https://api.github.com/users/gimite/following{/other_user}","gists_url":"https://api.github.com/users/gimite/gists{/gist_id}","starred_url":"https://api.github.com/users/gimite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gimite/subscriptions","organizations_url":"https://api.github.com/users/gimite/orgs","repos_url":"https://api.github.com/users/gimite/repos","events_url":"https://api.github.com/users/gimite/events{/privacy}","received_events_url":"https://api.github.com/users/gimite/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/google/personfinder/pulls/177/commits","review_comments_url":"https://api.github.com/repos/google/personfinder/pulls/177/comments","review_comment_url":"https://api.github.com/repos/google/personfinder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/personfinder/issues/177/comments","statuses_url":"https://api.github.com/repos/google/personfinder/statuses/07230e054c1575a97cb57557d7b9cb86fef6cb57","head":{"label":"google:mikahashimoto-fix-kanji-dictionary","ref":"mikahashimoto-fix-kanji-dictionary","sha":"07230e054c1575a97cb57557d7b9cb86fef6cb57","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":25369506,"name":"personfinder","full_name":"google/personfinder","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/personfinder","description":"Person Finder is a searchable missing person database written in Python and hosted on App Engine.","fork":false,"url":"https://api.github.com/repos/google/personfinder","forks_url":"https://api.github.com/repos/google/personfinder/forks","keys_url":"https://api.github.com/repos/google/personfinder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/personfinder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/personfinder/teams","hooks_url":"https://api.github.com/repos/google/personfinder/hooks","issue_events_url":"https://api.github.com/repos/google/personfinder/issues/events{/number}","events_url":"https://api.github.com/repos/google/personfinder/events","assignees_url":"https://api.github.com/repos/google/personfinder/assignees{/user}","branches_url":"https://api.github.com/repos/google/personfinder/branches{/branch}","tags_url":"https://api.github.com/repos/google/personfinder/tags","blobs_url":"https://api.github.com/repos/google/personfinder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/personfinder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/personfinder/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/personfinder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/personfinder/statuses/{sha}","languages_url":"https://api.github.com/repos/google/personfinder/languages","stargazers_url":"https://api.github.com/repos/google/personfinder/stargazers","contributors_url":"https://api.github.com/repos/google/personfinder/contributors","subscribers_url":"https://api.github.com/repos/google/personfinder/subscribers","subscription_url":"https://api.github.com/repos/google/personfinder/subscription","commits_url":"https://api.github.com/repos/google/personfinder/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/personfinder/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/personfinder/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/personfinder/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/personfinder/contents/{+path}","compare_url":"https://api.github.com/repos/google/personfinder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/personfinder/merges","archive_url":"https://api.github.com/repos/google/personfinder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/personfinder/downloads","issues_url":"https://api.github.com/repos/google/personfinder/issues{/number}","pulls_url":"https://api.github.com/repos/google/personfinder/pulls{/number}","milestones_url":"https://api.github.com/repos/google/personfinder/milestones{/number}","notifications_url":"https://api.github.com/repos/google/personfinder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/personfinder/labels{/name}","releases_url":"https://api.github.com/repos/google/personfinder/releases{/id}","created_at":"2014-10-17T17:36:25Z","updated_at":"2015-09-28T20:44:21Z","pushed_at":"2015-09-29T09:35:00Z","git_url":"git://github.com/google/personfinder.git","ssh_url":"git@github.com:google/personfinder.git","clone_url":"https://github.com/google/personfinder.git","svn_url":"https://github.com/google/personfinder","homepage":"https://google.org/personfinder","size":245385,"stargazers_count":112,"watchers_count":112,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":82,"forks":53,"open_issues":82,"watchers":112,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"73159cf0d301fec92899a88626926cb361e76265","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":25369506,"name":"personfinder","full_name":"google/personfinder","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/personfinder","description":"Person Finder is a searchable missing person database written in Python and hosted on App Engine.","fork":false,"url":"https://api.github.com/repos/google/personfinder","forks_url":"https://api.github.com/repos/google/personfinder/forks","keys_url":"https://api.github.com/repos/google/personfinder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/personfinder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/personfinder/teams","hooks_url":"https://api.github.com/repos/google/personfinder/hooks","issue_events_url":"https://api.github.com/repos/google/personfinder/issues/events{/number}","events_url":"https://api.github.com/repos/google/personfinder/events","assignees_url":"https://api.github.com/repos/google/personfinder/assignees{/user}","branches_url":"https://api.github.com/repos/google/personfinder/branches{/branch}","tags_url":"https://api.github.com/repos/google/personfinder/tags","blobs_url":"https://api.github.com/repos/google/personfinder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/personfinder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/personfinder/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/personfinder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/personfinder/statuses/{sha}","languages_url":"https://api.github.com/repos/google/personfinder/languages","stargazers_url":"https://api.github.com/repos/google/personfinder/stargazers","contributors_url":"https://api.github.com/repos/google/personfinder/contributors","subscribers_url":"https://api.github.com/repos/google/personfinder/subscribers","subscription_url":"https://api.github.com/repos/google/personfinder/subscription","commits_url":"https://api.github.com/repos/google/personfinder/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/personfinder/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/personfinder/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/personfinder/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/personfinder/contents/{+path}","compare_url":"https://api.github.com/repos/google/personfinder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/personfinder/merges","archive_url":"https://api.github.com/repos/google/personfinder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/personfinder/downloads","issues_url":"https://api.github.com/repos/google/personfinder/issues{/number}","pulls_url":"https://api.github.com/repos/google/personfinder/pulls{/number}","milestones_url":"https://api.github.com/repos/google/personfinder/milestones{/number}","notifications_url":"https://api.github.com/repos/google/personfinder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/personfinder/labels{/name}","releases_url":"https://api.github.com/repos/google/personfinder/releases{/id}","created_at":"2014-10-17T17:36:25Z","updated_at":"2015-09-28T20:44:21Z","pushed_at":"2015-09-29T09:35:00Z","git_url":"git://github.com/google/personfinder.git","ssh_url":"git@github.com:google/personfinder.git","clone_url":"https://github.com/google/personfinder.git","svn_url":"https://github.com/google/personfinder","homepage":"https://google.org/personfinder","size":245385,"stargazers_count":112,"watchers_count":112,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":82,"forks":53,"open_issues":82,"watchers":112,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/personfinder/pulls/177"},"html":{"href":"https://github.com/google/personfinder/pull/177"},"issue":{"href":"https://api.github.com/repos/google/personfinder/issues/177"},"comments":{"href":"https://api.github.com/repos/google/personfinder/issues/177/comments"},"review_comments":{"href":"https://api.github.com/repos/google/personfinder/pulls/177/comments"},"review_comment":{"href":"https://api.github.com/repos/google/personfinder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/personfinder/pulls/177/commits"},"statuses":{"href":"https://api.github.com/repos/google/personfinder/statuses/07230e054c1575a97cb57557d7b9cb86fef6cb57"}}}}