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
from dajapy import dajudge
# Simple boolean check
if dajudge("布団が吹っ飛んだ"):
print("It's a pun!")
# Get detailed info
res = 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.0.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.0.tar.gz.
File metadata
- Download URL: dajudge-1.0.0.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 |
a28fed864e9ff5d74de35a0396642d276da2e1abfd1bc40710083395d991b7c0
|
|
| MD5 |
3917b2aa1ecc308e9d55f9cc9e5a710b
|
|
| BLAKE2b-256 |
1278e9398496c0030685aff436e6cc6de11232440ec146faed59bf81aa4102bf
|
File details
Details for the file dajudge-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dajudge-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.9 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 |
eb591435ac3ad9aeaedaa6b70f2e4223e7ce6539527809f0d19a725ec8c9ec26
|
|
| MD5 |
80ba0a907a4e1362c0e4265183e51e56
|
|
| BLAKE2b-256 |
8665e6dd48fe61885b9d9519039949823ac9e8afcc0538be9cab1b56cf93250f
|