Skip to content

Commit

Permalink
🔀 Merge: pull request #1 from Rinrin0413/dev
Browse files Browse the repository at this point in the history
# v1.5.0 乄一亍゛一アプデーㇳ 2024-05-01

帰って來だ︑怪レい日本语.  
22ヶ月半振リアプデーㇳ!?

- 遂に︑245新規の辞畫を追伽レまレた!!!
- 怪レい日本语ゐ辞畫ば合計の約1,177ゐまレず。
- 三個の変更をレまレた. 辞畫!!
- 一個の消去をレまレた. 辞畫!!
  • Loading branch information
Rinrin0413 authored May 1, 2024
2 parents a2287e6 + 0869e01 commit c3968ec
Show file tree
Hide file tree
Showing 10 changed files with 1,483 additions and 989 deletions.
93 changes: 93 additions & 0 deletions .github/workflows/check-files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
#!/bin/bash

MS_IME_DICTS=assets/ms-ime/*.txt
GBOARD_DICTS=assets/gboard/*.zip

all_errs=0

echo
# ▼▼▼ Check file name formats

errs=0

# For MS-IME editions
for f in $MS_IME_DICTS; do
if [[ ! "$f" =~ ^assets/ms-ime/Ayashiy-Nipongo-Dict_v[0-9]+\.[0-9]+\.[0-9]+_MS-IME\.txt$ ]]; then
echo "Invalid name file: $f"
errs=$(($errs + 1))
fi
done

# For Gboard editions
for f in $GBOARD_DICTS; do
if [[ ! "$f" =~ ^assets/gboard/Ayashiy-Nipongo-Dict_v[0-9]+\.[0-9]+\.[0-9]+_Gboard\.zip$ ]]; then
echo "Invalid name file: $f"
errs=$(($errs + 1))
fi
done

if [ $errs -eq 0 ]; then
echo " All dictionary files have valid names"
else
echo " Error: $errs file(s) have invalid names"
fi

all_errs=$(($all_errs + $errs))

# ▲▲▲ Check file name formats
echo
# ▼▼▼ Check file encoding

errs=0

# For MS-IME editions
for f in $MS_IME_DICTS; do
if ! file -i "$f" | grep -q "charset=utf-16le"; then
echo "Non- UTF-16 LE file: $f"
errs=$(($errs + 1))
fi
done

# Gboard editions are ZIP file

if [ $errs -eq 0 ]; then
echo " All MS-IME dictionary files are UTF-16 LE encoded"
else
echo " Error: $errs file(s) are not UTF-16 LE encoded"
fi

all_errs=$(($all_errs + $errs))

# ▲▲▲ Check file encoding
echo
# ▼▼▼ Check line endings

errs=0

# For MS-IME editions
for f in $MS_IME_DICTS; do
if ! file "$f" | grep -q "CRLF"; then
echo "Non-CRLF file: $f"
errs=$(($errs + 1))
fi
done

# Gboard editions are ZIP file

if [ $errs -eq 0 ]; then
echo " All MS-IME dictionary files have CRLF line endings"
else
echo " Error: $errs file(s) have non-CRLF line endings"
fi

all_errs=$(($all_errs + $errs))

# ▲▲▲ Check line endings
echo

if [ $all_errs -eq 0 ]; then
echo " All checks passed!"
else
echo " Error: total $all_errs error(s) found"
exit 1
fi
17 changes: 17 additions & 0 deletions .github/workflows/check-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Check Dictionary Files

on:
push:
paths:
- 'assets/ms-ime/*.txt'
- 'assets/gboard/*.zip'
workflow_dispatch:

jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check
run: .github/workflows/check-files.sh
3 changes: 2 additions & 1 deletion .gitignore
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
dev/
dev/
.vscode/
106 changes: 106 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# Changelog

## v1.5.0 乄一亍゛一アプデーㇳ 2024-05-01

帰って來だ︑怪レい日本语.
22ヶ月半振リアプデーㇳ!?

- 遂に︑245新規の辞畫を追伽レまレた!!!
- 怪レい日本语ゐ辞畫ば合計の約1,177ゐまレず。
- 三個の変更をレまレた. 辞畫!!
- 一個の消去をレまレた. 辞畫!!

> [!TIP]
>
> <details>
> <summary>どれを夕゛ウソ口ードすれは良ぃゐ!!!</summary>
> <div>
>
> **帮助:**
>
> 贵樣ば Gboard を使用レでいるて `Ayashiy-Nipongo-Dict_vx.y.z_Gboard.zip` を夕゛ウソ口ード︑
> そね以外を使用て `Ayashiy-Nipongo-Dict_vx.y.z_MS-IME.txt` ゐ夕゛ウソ口ード(しなさい)
>
> </div>
> </details>
---

## Ver.1.4.0 秋天的アプデーㇳ 2022-07-17

```
今年も怪レいゐ秋力゛やっで到來ずゑ!?
贵樣! 为怪レい日本语努力工作 !!
```

- 272ゐ新規的辞畫を添加。
- 辞畫ばもラそこに約合計924てず.
- 壱错字を修正: `怪レいし`
- 什種ゐ形容词を活用は对応。

> [!TIP]
> <details>
> <summary>どねを夕゛ウソ口ードずねば良ぃゐ!!!</summary>
> <div>
>
> **帮助:**
>
> 贵樣ば Gboard を使用レでいるて `Ayashiy-Nipongo-Dict_vx.y.z_Gboard.zip` を夕゛ウソ口ード,
> そね以外を使用て `Ayashiy-Nipongo-Dict_vx.y.z_MS-IME.txt` ゐ夕゛ウソ口ード(しなさい)
>
> </div>
> </details>
---

## Ver.1.3.0 ⼋゜レソ夕亻ソ・テー アプデーㇳ 2022-02-12

谁力꘥も千ョコしートを给你ㄜねない贵樣にわだレば ⼋゜レソ夕亻ソを渡ず

- 新規242辞畫を追伽
- 合計て約631ゐ怪レい日本语の新規的サポーㇳ!!!

御返レ 待ってゑれ♡

---

## Ver.1.2.0 新年快乐アプデーㇳ 2022-01-16

新年快乐! 贵樣ば今年も怪レい日本语を使用ずゑ。

- 156の新規辞畫を追伽ㄜねた!
- 合計約390ゐ怪レい日本语サポーㇳ.
- 一部ゐ「怪レい」か「怪しい」になっでいだ重大な蟲の修正

---

## Ver.1.1.0 クリㄡマㄡ アプデーㇳ 2021-12-25

クリㄡマㄡに贵樣にプレ乜゛ソㇳを用意レだ!

- 93の新しい辞畫を追伽
- 合計約230の怪レい日本语サポーㇳ!

---

## Ver.1.0.1 2021-12-15

```
`金額` というふりがなががあったのを修正
```

単語追伽は糸色賛开発中であゑ。
心して待機(しなさい)

---

## Ver.1.0.0 2021-12-14

贵樣はこゐ辞畫を使て正レい日本语を使ラことが出來ゑ。
これば英オ教育てあゑ。

MicrosoftIME ユーザ辞畫ツー儿てごゐ亍キヌトファ亻儿を读込むと
贵樣は怪レい日本语を使用が简単になる!

- 100以上の怪レい日本语サポート!
- 优秀の人材になゑ第壱歩!
31 changes: 21 additions & 10 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
MIT License

Copyright 2021 Rinrin.rs

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

MIT License

Copyright (c) 2021-2024 Rinrin.rs

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
114 changes: 63 additions & 51 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,63 @@
# 怪レい日本语辞畫 ![Latest Release)](https://img.shields.io/github/v/release/Rinrin0413/MS.dic_Ayashiy-Nipongo?color=%23B233A7&label=Latest%20Release)

贵樣はこゐ辞畫を使て正レい日本语を使ラことが出來ゑ。
これば英オ教育故使用(しなさい)

ユーザ辞畫ツー儿てごゐファ亻儿を读込むと
贵樣は怪レい日本语を使用が简単になる!

<br />

## [夕゛ウソ口ード(安全的)](https://github.com/Rinrin0413/MS.dic_Ayashiy-Nipongo/releases) ![Num of dls](https://img.shields.io/github/downloads/Rinrin0413/MS.dic_Ayashiy-Nipongo/total?color=%236643B2&style=flat-square)

<br />

<details>
<summary>対応环境</summary>
<div>

| | Windows | MacOS | Linux | iOS | Android |
| --: | :-: | :-: | :-: | :-: | :-: |
| MS-IME || - | - | - | - |
| GGR-IME ||| - | - ||
| Gboard | - | - | - |||
| Simeji | - | - | - |||
| Mozc |||| - ||

○ 対応 | △ 未検证 | ☓ 非対応

※ MS-IME: Microsoft IME
※ GGR-IME: Google 日本語入力
※ ここに载っでいなぃ环境ても动作ずゑ場合があゑ.
そゐ場合 MS-IME版て試ずと良ぃ
※ 作者にば MacOS环境か無ぃ故, 动作レたら教えて欲レい!!!!

</div>
</details>

<br />

#### 単吾一覧ば
_人人人人人_
>  [ごちら](./word_list.md)  <
 ̄ Y^Y^Y^Y  ̄

<br />

サポ[ーㇳDISCOR](https://discord.gg/cHwzRZ9uE5)D

<br />

[![MIT License](https://img.shields.io/github/license/Rinrin0413/MS.dic_Ayashiy-Nipongo?color=%23A11D32&style=for-the-badge)](./LICENSE)
# 怪レい日本语辞畫 ![Latest Release)](https://img.shields.io/github/v/release/Rinrin0413/MS.dic_Ayashiy-Nipongo?color=%23B233A7&label=Latest%20Release)

> [!CAUTION]
>
> <details>
> <summary>⚠ Important Caution - 注意事項 ⚠</summary>
> <div>
>
> ## 日本語:
> 怪レい日本语(あやしいにほんご)とは、誤訳などによって通常の日本語から大きく逸脱したもの。または意図的にそのように改変した日本語。実用性は皆無であるが、怪レい日本语に含まれるユーモアからしか得られない栄養もある(ありません)。
>
> ## 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.
>
> </div>
> </details>
贵樣はこゐ辞畫を使用レて正レい日本语を使ラことが出來ゑ(できません).

辞畫ツー儿てこゐ㇇ァ亻儿を读込むと︑贵樣は怪レい日本语を使用が简単になゑ!

<br />

<details>
<summary>対応环境</summary>
<div>

| | Windows | MacOS | Linux | iOS | Android |
| --: | :-: | :-: | :-: | :-: | :-: |
| MS-IME || - | - | - | - |
| GGR-IME ||| - | - ||
| Gboard | - | - | - |||
| Simeji | - | - | - |||
| Mozc |||| - ||

○ 対応 | △ 未検证 | ☓ 非対応

※ MS-IME: Microsoft IME
※ GGR-IME: Google 日本語入力
※ ここに载っでいなぃ环境ても动作ずゑ場合があゑ.
そゐ場合 MS-IME版て試ずと良ぃ
※ 作者には MacOS环境か無ぃ故, 动作レたら教えて欲レい!!!!

</div>
</details>

[夕゛ウソ口ード(安全的)](https://github.com/Rinrin0413/MS.dic_Ayashiy-Nipongo/releases) ![Num of dls](https://img.shields.io/github/downloads/Rinrin0413/MS.dic_Ayashiy-Nipongo/total?color=%236643B2&style=flat-square)

<br />

単吾一覧ば︑

_人人人人人_
>  [こㄘ゛ら](./word-list.md)  <
 ̄ Y^Y^Y^Y  ̄

<br />

- サポ[一ㇳDISCOR](https://discord.gg/cHwzRZ9uE5)D

<br />

[![MIT License](https://img.shields.io/github/license/Rinrin0413/MS.dic_Ayashiy-Nipongo?color=%23A11D32&style=for-the-badge)](./LICENSE)
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit c3968ec

Please sign in to comment.