{"id":17154706,"url":"https://github.com/jzohrab/ankijapaneseexamplebuilder","last_synced_at":"2025-03-24T13:41:21.769Z","repository":{"id":29559416,"uuid":"33098708","full_name":"jzohrab/AnkiJapaneseExampleBuilder","owner":"jzohrab","description":"A simple command-line version of EPWing2Anki (http://sourceforge.net/projects/epwing2anki/) written in Ruby","archived":false,"fork":false,"pushed_at":"2015-04-30T01:11:08.000Z","size":136,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T18:46:21.938Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jzohrab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-30T02:16:55.000Z","updated_at":"2019-08-06T15:44:43.000Z","dependencies_parsed_at":"2022-08-31T04:40:51.116Z","dependency_job_id":null,"html_url":"https://github.com/jzohrab/AnkiJapaneseExampleBuilder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzohrab%2FAnkiJapaneseExampleBuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzohrab%2FAnkiJapaneseExampleBuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzohrab%2FAnkiJapaneseExampleBuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jzohrab%2FAnkiJapaneseExampleBuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jzohrab","download_url":"https://codeload.github.com/jzohrab/AnkiJapaneseExampleBuilder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245283020,"owners_count":20590147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T21:49:48.995Z","updated_at":"2025-03-24T13:41:21.744Z","avatar_url":"https://github.com/jzohrab.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Anki Japanese Example Builder\n\nThis is a simple command-line clone of EPWing2Anki (http://sourceforge.net/projects/epwing2anki/).  This program takes a text file kanji words and gets example sentences for each from wwwjic (specifically, http://www.csse.monash.edu.au/~jwb/cgi-bin/wwwjdic.cgi as documented at http://www.edrdg.org/wwwjdic/wwwjdicinf.html#backdoor_tag), and creates a new output file with samples included.\n\nA sample run:\n\nGiven a tab-delimited file with Kanji in the first field, pronunciation the second field, and a definition in the third field, the following will generated a file with a sample Japanese sentence and its English equivalent in the fourth and fifth fields.\n\n```\n$ ruby main.rb test/test_rikaikun.txt -n 1\n... [snip, some status reporting] ...\nGenerating /wwwjdic_examples/test/test_rikaikun_output_20150329_223014.txt\n```\n\nNotes:\n\n* the output file is generated in the same folder as its input file\n* if a sentence isn't found, \"?\" is placed in these fields so that Anki import doesn't complain about irregular field counts\n\n# Usage\n\n## Installation and Set Up\n\nOther than setting up Ruby, and perhaps making main.rb executable, there shouldn't be anything to set up.  Just put main.rb in a folder and run it from the command line.\n\nThis has been written and tested on a Mac (`ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]`).  It does not use any additional Ruby Gems.\n\n\n## Usage\n\nAs shown in the header of `main.rb`, the program takes the input file as an argument, and a list of options.  The options can be seen by running `ruby main.rb --help`.\n\nThere are some sample files provided in the \"test\" subdirectory.\n\nNote that program makes a web call to the online dictionary API for every word.  There is currently no support for local dictionaries.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjzohrab%2Fankijapaneseexamplebuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjzohrab%2Fankijapaneseexamplebuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjzohrab%2Fankijapaneseexamplebuilder/lists"}