Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

eggplants/wiredify

Repository files navigation

wiredify

PyPI version Maintainability pre-commit.ci status Test Coverage Test

ghcr latest ghcr size

Convert japanese kana from ba-bi-bu-be-bo into va-vi-vu-ve-vo.

Install

pip install wiredify

CLI

Usage

$ wiredify <<< 'ジェネレーティブ・エーアイ'
ジェネレーティヴ・エーアイ

$ wiredify 'ジェネレーティブ・エーアイ'
ジェネレーティヴ・エーアイ

$ echo 'ジェネレーティブ・エーアイ' | wiredify
ジェネレーティヴ・エーアイ

$ wiredify
>>> ジェネレーティブ・エーアイ
ジェネレーティヴ・エーアイ
>>> ...[Press ctrl+d to exit]
$

Help

$ wiredify -h
usage: wiredify [-h] [--invert] [-V] [text]

Convert japanese kana from ba-bi-bu-be-bo into va-vi-vu-ve-vo.

positional arguments:
  text           target text (default: None)

optional arguments:
  -h, --help     show this help message and exit
  --invert       enable dewiredify mode (default: False)
  -V, --version  show program's version number and exit

examples:
  $ wiredify <<< 'ジェネレーティブ・エーアイ'
  ジェネレーティヴ・エーアイ

  $ wiredify 'ジェネレーティブ・エーアイ'
  ジェネレーティヴ・エーアイ

  $ echo 'ジェネレーティブ・エーアイ' | wiredify
  ジェネレーティヴ・エーアイ

  $ wiredify
  >>> ジェネレーティブ・エーアイ
  ジェネレーティヴ・エーアイ
  >>> ...[Press ctrl+d to exit]
  $

Library

Overview

from wiredify import wiredify
wiredfied_text = wiredify("ジェネレーティヴ・エーアイ")
#=> "ジェネレーティブ・エーアイ"

Other implementations

License

MIT