输入中文,他会将它转化为哲♂学的语言。Chinese -> “哲♂学” Language
Project description
哲♂学翻译机
能把中文翻译成哲♂学的翻译机!
(鸣谢伟大的 RimoChan 的淫语翻译机 )
样例
import philosophese
s = '你已经站在宏观的角度进行哲学思考了。'
print(philosophese.chs2phi(s))
# 你已经站在宏观的角度进行哲♂学思考了。
s2 = '务必要结婚,娶个好女人,你会很快乐,娶个坏女人,你会成为哲学家。'
print(philosophese.chs2phi(s2))
# 务必要结婚,娶个好女人,你会很快乐,娶个坏女人,你会成为哲♂学家。
接口说明
def chs2phi(s, philo=0.5):
s 是原字符串,philo 是 0~1 之间的实数,越大越哲 ♂ 学,表示男魂出现的概率。
安装
pip install philosophese
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
philosophese-0.0.1.tar.gz
(7.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file philosophese-0.0.1.tar.gz.
File metadata
- Download URL: philosophese-0.0.1.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d412acb2fce8df619c3e7aecc41637a2ec97241b23ed0b52bcf6745f1f9c5f13
|
|
| MD5 |
fffbdc6ecd836a8a061239e91a731b6f
|
|
| BLAKE2b-256 |
b42cbb04f620381ab6353bbeabcf65d6b67937d6fca80ac6aebe8726f7566d2c
|
File details
Details for the file philosophese-0.0.1-py3-none-any.whl.
File metadata
- Download URL: philosophese-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2592f925efb7763a00b3b15645e9d38a2f7da79e15d647a0ecd55b0fb18524dd
|
|
| MD5 |
626f887dc1da9b7aec1b494c5e7d5486
|
|
| BLAKE2b-256 |
2bce166dc212e0f8ea73520edc70afc5e00cd990188fb0e5af96c3a5c81f5408
|