Crates.io | cjp |
lib.rs | cjp |
version | 1.0.0 |
source | src |
created_at | 2022-09-20 13:13:48.951312 |
updated_at | 2024-05-03 01:27:54.853381 |
description | A library for converting strings to 怪レい日本语(Ayashī Nihongo). |
homepage | |
repository | https://github.com/Rinrin0413/cjp-rs.git |
max_upload_size | |
id | 669899 |
size | 86,222 |
[!CAUTION]
⚠ Important Caution - 注意事項 ⚠
日本語:
怪レい日本语(あやしいにほんご)とは、誤訳などによって通常の日本語から大きく逸脱したもの。または意図的にそのように改変した日本語。実用性は皆無であるが、怪レい日本语に含まれるユーモアからしか得られない栄養もある(ありません)。
For non-native speakers of Japanese:
"怪レい日本語" (Ayashī Nihongo) refers to Japanese language that deviates significantly from standard grammar and vocabulary, often due to mistranslations or other errors. In other words, "怪レい日本語" is NOT correct Japanese language, so those unfamiliar with Japanese language may greatly misunderstand its meaning if they attempt to read it.
cjp.rs is a Rust library for converting strings to 怪レい日本语(Ayashī Nihongo).
Run the following Cargo command in your project directory:
cargo add cjp
You can convert strings to 怪レい日本语(Ayashī Nihongo) by importing the cjp::AsCjp
trait and calling its method cjp
on a string.
use cjp::AsCjp;
fn main() {
let s = "貴方は怪しい日本語を使うことが出来る。".to_string();
println!("{}", s.cjp()); //< 贵樣は怪レい日本语を使ラこと力゛出來ゑ ⸰
let s = "優秀の人材はタピオカに投資して西川口に豪邸を建てる。";
println!("{}", s.cjp()); //< 优秀の人材は夕匕才力に投资レて酉川口にごラていを建てゑ ⸰
}
And see the docs.