Japanese Pun (Dajare) detector
Project description
dajudge
ダジャレを判定するモジュール
Install
# Linux/OS
$ python -m pip install -U dajudge
# Windows
> py -3 -m pip install -U dajudge
Example
import dajudge
if dajudge.dajudge("布団が吹っ飛んだ"):
print("It's a pun!")
res = dajudge.dajudge("アルミ缶の上にあるみかん")
print(f"Score: {res.score}")
print(f"Phrase: {res.phrase}")
print(f"Length: {res.length}")
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
dajudge-1.0.1.tar.gz
(3.7 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 dajudge-1.0.1.tar.gz.
File metadata
- Download URL: dajudge-1.0.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02df867f29b321f5f8fd8c9ba208262bc4348cbc1e9bbf6d6c2a14b90577505d
|
|
| MD5 |
190432f10c9d5aa514fbcf6abacf90ca
|
|
| BLAKE2b-256 |
2aaee48fe2905a1c093740cfa21afb7093fd6169d8dde1085deb7dce482b69a1
|
File details
Details for the file dajudge-1.0.1-py3-none-any.whl.
File metadata
- Download URL: dajudge-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24967f3c52ca10267cf8d1365563fb34d0ee7b416857e99218e6d1164a2c2605
|
|
| MD5 |
fd234df1131a72f07a4b468b843a50f9
|
|
| BLAKE2b-256 |
b8cb0a96266c5974d85a9db3e794b9a70511c126771139ece95a352709739403
|