daidai 0.2.1 → 0.2.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/daidai/deinflector.rb +1 -0
- data/lib/daidai/resources/japanese-transforms.json +17 -0
- data/lib/daidai/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4a9a455a37cfc23c6b89a04051200f0a049df1237dbded2fdc7b51c76422f871
|
|
4
|
+
data.tar.gz: 5151691212cf0198822ddea1e4fdc4f90c68b2d63f38d9f2e9aa7796b33b05b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1bc38157360a8c4b429f08c40b59a7598faeefd76cba250abc2e59bf683ce1869d2a4c834479b78612670d0826b496c0252048e23b9f7b4eca2e038a48d9da60
|
|
7
|
+
data.tar.gz: 779d2c64c45c6f07d75a084fc52c02faceb26a67c8cf547a3dc99fb3931dd9b5daf4dd7d374b63ea1b02bc9d6b6ac4e93053b776b14f1ec6307d1315b69dd26e
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,17 @@ follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.2.2] - 2026-07-25
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Deinflection of the negative te-form 〜ないで (食べないで, 行かないで, 読まないで →
|
|
14
|
+
dictionary form). Yomitan's rule set has no entry for it; daidai adds one,
|
|
15
|
+
resolving 〜ないで through the plain negative (〜ない) to the base across every
|
|
16
|
+
verb class. (〜なくて already resolved via the -て + negative chain.) The
|
|
17
|
+
prohibitive 〜な (食べるな) is deliberately left out — 〜な is too ambiguous
|
|
18
|
+
(sentence particle, na-adjective) for a safe rule.
|
|
19
|
+
|
|
9
20
|
## [0.2.1] - 2026-07-25
|
|
10
21
|
|
|
11
22
|
### Fixed
|
data/lib/daidai/deinflector.rb
CHANGED
|
@@ -62,6 +62,7 @@ module Daidai
|
|
|
62
62
|
"-過ぎる" => "excessive (-sugiru)", "-なさい" => "polite imperative (-nasai)",
|
|
63
63
|
"-さ" => "nominalization (-sa)", "-げ" => "appearance (-ge)",
|
|
64
64
|
"-がる" => "showing signs (-garu)", "-やがる" => "contemptuous (-yagaru)",
|
|
65
|
+
"-ないで" => "negative (-naide)",
|
|
65
66
|
"-ず" => "negative (-zu)", "-ぬ" => "negative (-nu)", "-ん" => "negative (-n)",
|
|
66
67
|
"-ざる" => "negative (-zaru)", "-ねば" => "negative conditional (-neba)",
|
|
67
68
|
"-まい" => "negative volitional (-mai)", "-く" => "adverbial (-ku)",
|
|
@@ -5413,6 +5413,23 @@
|
|
|
5413
5413
|
}
|
|
5414
5414
|
]
|
|
5415
5415
|
},
|
|
5416
|
+
"-ないで": {
|
|
5417
|
+
"name": "-ないで",
|
|
5418
|
+
"description": "Negative te-form: で attached to the plain negative (〜ない) of a verb, for a negative request or manner (食べないで, 行かないで). Yomitan has no rule for this; daidai adds it. Deinflects 〜ないで to the negative 〜ない, which the `negative` transform then resolves to the dictionary form.",
|
|
5419
|
+
"rules": [
|
|
5420
|
+
{
|
|
5421
|
+
"type": "suffix",
|
|
5422
|
+
"conditionsIn": [
|
|
5423
|
+
"-て"
|
|
5424
|
+
],
|
|
5425
|
+
"conditionsOut": [
|
|
5426
|
+
"adj-i"
|
|
5427
|
+
],
|
|
5428
|
+
"inflected": "ないで",
|
|
5429
|
+
"deinflected": "ない"
|
|
5430
|
+
}
|
|
5431
|
+
]
|
|
5432
|
+
},
|
|
5416
5433
|
"-さ": {
|
|
5417
5434
|
"name": "-さ",
|
|
5418
5435
|
"description": "Nominalizing suffix of i-adjectives indicating nature, state, mind or degree.\nUsage: Attach さ to the stem of i-adjectives.",
|
data/lib/daidai/version.rb
CHANGED