@main.command()<EOL>@click.argument('<STR_LIT>', required=False, type=text)<EOL>@click.option('<STR_LIT>', '<STR_LIT>', '<STR_LIT>', default='<STR_LIT>',<EOL>type=click.Choice(['<STR_LIT>', '<STR_LIT>']))<EOL>@click.option('<STR_LIT>', '<STR_LIT>', '<STR_LIT>', envvar='<STR_LIT>', type=text)<EOL>@click.option('<STR_LIT>', '<STR_LIT>', '<STR_LIT>', type=text)<EOL>@click.option('<STR_LIT>', '<STR_LIT>', '<STR_LIT>', type=click.File('<STR_LIT:rb>'))<EOL>@click.option('<STR_LIT>', '<STR_LIT>', '<STR_LIT>', default=False)<EOL>@click.pass_context<EOL>def hiragana(ctx, app_id, sentence_file,<EOL>json_flag, sentence, output_type, request_id):<EOL>
app_id = clean_app_id(app_id)<EOL>sentence = clean_sentence(sentence, sentence_file)<EOL>api = GoolabsAPI(app_id)<EOL>ret = api.hiragana(<EOL>sentence=sentence,<EOL>output_type=output_type,<EOL>request_id=request_id<EOL>)<EOL>if json_flag:<EOL><INDENT>click.echo(format_json(api.response.json()))<EOL>return<EOL><DEDENT>click.echo(ret['<STR_LIT>'])<EOL>
Convert the Japanese to Hiragana or Katakana.