@johnmorrisdotca/kumimoji 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/NOTICE.md +1 -1
- package/README.md +9 -9
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/words.ja.data.d.ts +1 -1
- package/dist/words.ja.data.js +12 -12
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,16 @@ All notable changes to this project are written down here. The format follows
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [1.6.0] - 2026-11-04
|
|
10
|
+
|
|
11
|
+
A minor version: nothing that 1.5.0 gave is taken away except five lines that are obscene in themselves. The English list, the rules and the saved-game format are unchanged.
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- **The Japanese word list no longer leaves out ordinary words** (MODULES-392; John, 2026-11-04: "we can't filter out regular good words"). Kotoba's children bar, which writes the list, is narrowed: a line is out only when every entry that spells it is marked vulgar, X-rated, sensitive or derogatory by JMdict, or has a first sense that names a sex act, a sex organ or the sex trade, or it is a reading on Kotoba's short list of obscene ones. A sense that only mentions sex is no longer enough. 86 lines are back, among them せいべつ (性別), いせい (異性), どうせい (同性), きょうがく (共学), こんりゅう (建立), まぜもの (混ぜ物), そうにゅう (挿入), ふじゅん (不純), なのはな (菜の花), あいじん (愛人).
|
|
16
|
+
- **Five lines are held out by name**: まんこ and うんこ and おっぱい and ちんこ, which JMdict marks nothing or shares with an ordinary word (万古 is also まんこ), and れいふ, the line that れいぷ plays on the tiles (it is also 霊符, a charm, which goes out with it). The list is 162,243 readings, 86 more and 5 fewer: 162,324.
|
|
17
|
+
- **A seeded Japanese game is dealt differently**, as the list has other words to choose among; English games and the saved-game format are unchanged.
|
|
18
|
+
|
|
9
19
|
## [1.5.0] - 2026-11-04
|
|
10
20
|
|
|
11
21
|
A minor version: nothing that 1.4.0 gave is taken away except what children should not have been handed. The English list, the rules and the saved-game format are unchanged.
|
package/NOTICE.md
CHANGED
|
@@ -31,7 +31,7 @@ SCOWL's own distribution.
|
|
|
31
31
|
|
|
32
32
|
`src/words.ja.data.ts` is derived from JMdict, the Japanese-Multilingual
|
|
33
33
|
Dictionary of the Electronic Dictionary Research and Development Group
|
|
34
|
-
(https://www.edrdg.org/), release 2026-11-04: 162,
|
|
34
|
+
(https://www.edrdg.org/), release 2026-11-04: 162,324 hiragana readings of 2 to
|
|
35
35
|
15 kana, each spelt in the 45 base kana the tiles show. JMdict is the property of
|
|
36
36
|
the EDRDG and is used under the Creative Commons Attribution-ShareAlike 4.0
|
|
37
37
|
licence, with the group's conditions: https://www.edrdg.org/edrdg/licence.html.
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ In English and in Japanese kana. The rules as pure, seeded TypeScript, two word
|
|
|
12
12
|
<a href="./NOTICE.md"><img alt="Japanese word list: CC BY-SA 4.0" src="https://img.shields.io/badge/Japanese%20words-CC%20BY--SA%204.0-b5452c"></a>
|
|
13
13
|
<img alt="No dependencies" src="https://img.shields.io/badge/dependencies-0-2f5d4a">
|
|
14
14
|
<img alt="TypeScript" src="https://img.shields.io/badge/types-TypeScript-3178c6">
|
|
15
|
-
<a href="https://johnmorrisdotca.github.io/kumimoji/docs/api/main/index.html"><img alt="677.
|
|
15
|
+
<a href="https://johnmorrisdotca.github.io/kumimoji/docs/api/main/index.html"><img alt="677.3 kB minified and gzipped" src="https://img.shields.io/badge/min%2Bgzip-677.3%20kB-2f5d4a"></a>
|
|
16
16
|
<a href="https://www.npmjs.com/package/@johnmorrisdotca/kumimoji#provenance"><img alt="Published with npm provenance" src="https://img.shields.io/badge/npm-provenance-2f5d4a"></a>
|
|
17
17
|
</p>
|
|
18
18
|
|
|
@@ -105,7 +105,7 @@ Or with nothing to install, [play a game in the demo](https://johnmorrisdotca.gi
|
|
|
105
105
|
- **Races and daily puzzles.** A seed deals one bag, the same for everybody,
|
|
106
106
|
and `checkKumimoji` checks a finished grid against it without searching.
|
|
107
107
|
- **Japanese.** A word game that plays in kana, with が on the か tile and ゃ
|
|
108
|
-
on the や tile, and a list of 162,
|
|
108
|
+
on the や tile, and a list of 162,324 readings.
|
|
109
109
|
- **Learners and teachers** of English or Japanese spelling.
|
|
110
110
|
|
|
111
111
|
## Features
|
|
@@ -114,7 +114,7 @@ Or with nothing to install, [play a game in the demo](https://johnmorrisdotca.gi
|
|
|
114
114
|
its tiles, so every bag can be finished.
|
|
115
115
|
- **English and Japanese.** 144 tiles in each: the English letters, or 45 base
|
|
116
116
|
kana where が plays as か, ゃ as や and を as お. 110,316 English words and
|
|
117
|
-
162,
|
|
117
|
+
162,324 Japanese readings, of 2 to 15 tiles.
|
|
118
118
|
- **Wild tiles** that take any letter or kana, and are read as that in every
|
|
119
119
|
word they are part of.
|
|
120
120
|
- **Trades.** A tile you cannot use goes back into the bag for three.
|
|
@@ -157,7 +157,7 @@ Each picture is the table the package draws, taken from [the demo](https://johnm
|
|
|
157
157
|
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/johnmorrisdotca/kumimoji/main/docs/images/kana-desk-dark.webp">
|
|
158
158
|
<img src="https://raw.githubusercontent.com/johnmorrisdotca/kumimoji/main/docs/images/kana-desk-light.webp" alt="A Japanese board of kana tiles on the green table, a crossword of hiragana laid across and down on the grid of empty squares." width="400">
|
|
159
159
|
</picture>
|
|
160
|
-
<br><em><strong>Japanese kana.</strong> 45 base kana tiles, 162,
|
|
160
|
+
<br><em><strong>Japanese kana.</strong> 45 base kana tiles, 162,324 readings.</em>
|
|
161
161
|
</td>
|
|
162
162
|
</tr>
|
|
163
163
|
<tr>
|
|
@@ -674,11 +674,11 @@ import { BASE_KANA, deal, generateKumimoji, loadTileWords, tileKana } from "@joh
|
|
|
674
674
|
const words = await loadTileWords("japanese");
|
|
675
675
|
[...BASE_KANA].length; // → 45
|
|
676
676
|
[tileKana("が"), tileKana("ゃ"), tileKana("を"), tileKana("っ")]; // → ["か", "や", "お", "つ"]
|
|
677
|
-
words.allowed.size; // →
|
|
677
|
+
words.allowed.size; // → 162324
|
|
678
678
|
words.allowed.has("ことは"); // → true
|
|
679
679
|
|
|
680
680
|
const dealt = generateKumimoji(7, "medium", 2026, { language: "japanese" });
|
|
681
|
-
deal(dealt.givens, 7).hand.map(words.glyphOf).join(""); // → "
|
|
681
|
+
deal(dealt.givens, 7).hand.map(words.glyphOf).join(""); // → "はしんゆほしも"
|
|
682
682
|
```
|
|
683
683
|
|
|
684
684
|
The tiles are the 45 base hiragana. A word is spelt with the base of each of
|
|
@@ -772,7 +772,7 @@ The JSON, as `kumimojiToJSON` writes it:
|
|
|
772
772
|
{
|
|
773
773
|
"format": 1,
|
|
774
774
|
"game": "kumimoji",
|
|
775
|
-
"generator": "kumimoji 1.
|
|
775
|
+
"generator": "kumimoji 1.6.0",
|
|
776
776
|
"size": 3,
|
|
777
777
|
"level": "hard",
|
|
778
778
|
"seed": 44,
|
|
@@ -817,7 +817,7 @@ with its notice too.
|
|
|
817
817
|
| List | What it is | Where it comes from | Terms |
|
|
818
818
|
| --- | --- | --- | --- |
|
|
819
819
|
| English, `dist/words.en.data.js` | 110,316 words of 2 to 15 letters, English and American spellings | [SCOWL](http://wordlist.aspell.net/) 2020.12.07, sizes 10 to 70 | © 2000–2018 Kevin Atkinson and the authors of the lists SCOWL is built from. Permission to use, copy, modify, distribute and sell for any purpose, **provided the copyright notice appears in all copies, and both it and the permission notice in supporting documentation**. No share-alike. |
|
|
820
|
-
| Japanese, `dist/words.ja.data.js` | 162,
|
|
820
|
+
| Japanese, `dist/words.ja.data.js` | 162,324 hiragana readings of 2 to 15 kana, each spelt in the 45 base kana of the tiles | [JMdict](https://www.edrdg.org/jmdict/j_jmdict.html), release 2026-11-04, of the Electronic Dictionary Research and Development Group | **[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)**, with the [EDRDG's conditions](https://www.edrdg.org/edrdg/licence.html). **Attribution is required, and the list, or anything made from it, may be passed on only under the same licence.** |
|
|
821
821
|
|
|
822
822
|
What that means for a project that uses this package:
|
|
823
823
|
|
|
@@ -1194,7 +1194,7 @@ Please follow the [code of conduct](./CODE_OF_CONDUCT.md). A way to make a check
|
|
|
1194
1194
|
|
|
1195
1195
|
See [CHANGELOG.md](./CHANGELOG.md).
|
|
1196
1196
|
|
|
1197
|
-
The latest release, 1.
|
|
1197
|
+
The latest release, 1.6.0, keeps the ordinary words that only mention sex in the Japanese list and leaves out what is not for children.
|
|
1198
1198
|
|
|
1199
1199
|
## Licence
|
|
1200
1200
|
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/dist/words.ja.data.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Derived from JMdict release 2026-11-04, and under CC BY-SA 4.0 with EDRDG's
|
|
4
4
|
* conditions: https://www.edrdg.org/edrdg/licence.html. Never edited by hand.
|
|
5
5
|
* Less the readings no ordinary meaning is left for (kotoba's scripts/children-bar.mjs, the bar of its kana lists).
|
|
6
|
-
*
|
|
6
|
+
* 162324 hiragana readings of 2–15 kana, each spelt in the 45
|
|
7
7
|
* tiles (が as か, ゃ as や, を as お), one character a kana through `codes`,
|
|
8
8
|
* front-coded by length. The tiles are `JAPANESE_TILE_MIX` (tiles.constants.ts).
|
|
9
9
|
*/
|