diff --git a/CHANGELOG.md b/CHANGELOG.md index b015809a66..9e42c58dd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,8 @@ app. thanks to [@maiself](https://github.com/maiself) ([#2014](https://github.com/birchill/10ten-ja-reader/pull/2014)). - Added handling for 戶 and 內 kyūjitai. +- Added deinflection for additional forms of -sugiru + ([#2033](https://github.com/birchill/10ten-ja-reader/pull/2033)). - Fixed unreasonable matches caused by duplicates in the deinflection reason chain ([#1966](https://github.com/birchill/10ten-ja-reader/issues/1966)). - Fixed sorting of deinflected results in some cases (e.g. 見とれる). diff --git a/src/background/deinflect.ts b/src/background/deinflect.ts index 4f99ec8015..b1d145a5df 100644 --- a/src/background/deinflect.ts +++ b/src/background/deinflect.ts @@ -200,6 +200,8 @@ const deinflectRuleData: Array< ['じゃう', '', Type.GodanVerb, Type.DaDeStem, [Reason.Chau]], ['すぎる', 'い', Type.IchidanVerb, Type.IAdj, [Reason.Sugiru]], ['すぎる', '', Type.IchidanVerb, Type.MasuStem, [Reason.Sugiru]], + ['過ぎる', 'い', Type.IchidanVerb, Type.IAdj, [Reason.Sugiru]], + ['過ぎる', '', Type.IchidanVerb, Type.MasuStem, [Reason.Sugiru]], ['たまう', 'たまう', Type.TaTeStem, Type.GodanVerb, []], ['たもう', 'たもう', Type.TaTeStem, Type.GodanVerb, []], ['揺蕩う', '揺蕩う', Type.TaTeStem, Type.GodanVerb, []], @@ -239,6 +241,10 @@ const deinflectRuleData: Array< ['ごう', 'ぐ', Type.Initial, Type.GodanVerb, [Reason.Volitional]], ['しろ', 'す', Type.Initial, Type.SuruVerb, [Reason.Imperative]], ['しろ', 'する', Type.Initial, Type.SuruVerb, [Reason.Imperative]], + ['すぎ', 'い', Type.Initial, Type.IAdj, [Reason.Sugiru]], + ['すぎ', '', Type.Initial, Type.MasuStem, [Reason.Sugiru]], + ['過ぎ', 'い', Type.Initial, Type.IAdj, [Reason.Sugiru]], + ['過ぎ', '', Type.Initial, Type.MasuStem, [Reason.Sugiru]], ['する', '', Type.SuruVerb, Type.NounVS, [Reason.SuruNoun]], ['せず', 'する', Type.Initial, Type.SuruVerb, [Reason.Zu]], ['せぬ', 'する', Type.Initial, Type.SuruVerb, [Reason.Negative]],