Skip to main content

Multiway Xdi8 Translator

Project description

Xdi8Translator

A multiway Xdi8 Translator.

Installation

pip install Xdi8Translator

Usage

from Xdi8Translator import Translator

translator=Translator()

tidai='''Xdi8 oㄜθ
ㄣiзk ∀y z 刀zz7ia ヲi 6卜 N人Bi8h ,
gi∀人vci з v εε loεy 卜ε卜 ㄜu8 ㄣз,
s2hieε q8q8 yu 1 bpi 刀6li8,
rue no c зq w刀卜 hie 人 r 8卜 4i 8人?
hi θ卜que卜 εt 2 bie f εo ヲwi θヲi 人,
x εrdi 8 s 2rdi8 isu 人 x εx x di8,
r 8卜su з t 1g ∀ su 人i n 8卜 iz ε,
li 6xa fa 7人i bxz 刀 B θmi з。'''

hanzi='''我一个人,在轻轻闲着,一个没有名字的光棍,杳杳深深,默默无闻,在陌生的桥头,遇见雨中散心的丽人,心里刹那,我爱丽人,拥抱我吧!煞去我的光棍,让我和甜蜜的你,偶然相吻。'''

xdi8="xE di8"

print(translator.tidai2xdi8(tidai))
print(translator.hanzi2xdi8(hanzi))
print(translator.hanzi2xdi8(hanzi, fenci=False))
print(translator.xdi82kana(xdi8))
print(translator.xdi82tidai(xdi8))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Xdi8Translator-0.2.0.tar.gz (61.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Xdi8Translator-0.2.0-py3-none-any.whl (61.5 kB view details)

Uploaded Python 3

File details

Details for the file Xdi8Translator-0.2.0.tar.gz.

File metadata

  • Download URL: Xdi8Translator-0.2.0.tar.gz
  • Upload date:
  • Size: 61.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for Xdi8Translator-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b70a029e484638c9cb02f2c94c3c29728b0ab2051098b2f8b348f4dca1852659
MD5 82b6d1568f89b9a19465fb20c24e5fb9
BLAKE2b-256 76fa6a36aad0cf247a5cc520d8a0f2196f3b4ccbc90e4efeba665db73b4e1fdc

See more details on using hashes here.

File details

Details for the file Xdi8Translator-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: Xdi8Translator-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 61.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for Xdi8Translator-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d6c672912ecc6a34c70991c8f372b58cbb4149af79d10a59955bdab682301f3
MD5 8a5934e7e567b16cc1b32c574950776e
BLAKE2b-256 d45a1d18d8f88bfdaa4f28ece7f058e724d31838f7268fa23e3e6c3a154f4d55

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page