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

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

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.1.0.tar.gz (56.5 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.1.0-py3-none-any.whl (56.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Xdi8Translator-0.1.0.tar.gz
  • Upload date:
  • Size: 56.5 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.1.0.tar.gz
Algorithm Hash digest
SHA256 ee0ea8d317e9f0d59020a7afa42560de076eeabedd2cc787a9abdd043a2933f3
MD5 a0cedf3ffb137ae203dca9922a06f738
BLAKE2b-256 810e020581386d4bc6b5ae055fc1a827c804d90c7d38db88a5da2210283f0f5e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Xdi8Translator-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 56.1 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58f564c29a244b4e782b112e8e9a6c06d2d095c6fcefea357a158ad993605831
MD5 08f9600f32002faf04a15fdafc86d351
BLAKE2b-256 476ddc21b5a847e3fef411eac57e84e22b78fc2f7fb0990240b4c2e3d9d0b75f

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