Wordy 中文仿作生成系統
[力求保留原文篇章架構,最像人的仿作生成系統]
Wordy Website
Document
WordyAPI
安裝方法
pip3 install -U WordyAPI
使用方法
Wordy
from WordyAPI import Wordy
inputSTR = "" #這邊填入您想仿寫的內容,需要是 string 格式。
username = "" #這裡填入您在 https://api.droidtown.co 使用的帳號 email。不得為空字串
wordy_key = "" #這裡填入您在 https://api.droidtown.co 登入後取得的 api Key。不得為空字串
max_num = 72 #這邊輸入您想要的仿寫的篇數,預設為72篇
user_defined = {} #這邊輸入使用者自定替換詞典,必須是 dictionary 格式。非必要參數。
fixed_term = [] #這邊輸入禁止替換的詞組列表,必須是 list 格式。非必要參數。
wd = Wordy(username, wordy_key)
wd.rewrite(inputSTR, max_num=16, user_defined, fixed_term)
回傳結果
您的 16 篇文章改寫正在準備中,等改寫完成後,我們會再寄通知到 {您的信箱}
環境需求
Python 3.6+
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
WordyAPI-1.0.1.tar.gz
(4.0 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 WordyAPI-1.0.1.tar.gz.
File metadata
- Download URL: WordyAPI-1.0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cd83ff0922c62854c552b53b789785b78ec059f3655f058f7498675c4b7ea04
|
|
| MD5 |
6d138c2cad70f979eebc4787e96d1f18
|
|
| BLAKE2b-256 |
992a78ac10bfeaf6bd8d23c777aefd3f591781754587fe25b8c1f79e4f6ed0fb
|
File details
Details for the file WordyAPI-1.0.1-py3-none-any.whl.
File metadata
- Download URL: WordyAPI-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18c020a81c27b25c7c9b6594fdd2473123350a6a4274438c351324b27483a8c8
|
|
| MD5 |
313d180ee541a448f90aaa85d68615ec
|
|
| BLAKE2b-256 |
c329a0caaad4dc0ba75db119f9ca006df6a5747633ee24e45eeeb9d3a5c994e4
|