fix arienai deconjugation
This commit is contained in:
1 parent
71e0e9cbc3
commit
f6bca32b68
2 files changed
+12
-8
No files matched your search
+11
-7
@@ -199,12 +199,15 @@ let rules = [];
|
|||||||
// "e" stem used for potential and ba
|
// "e" stem used for potential and ba
|
||||||
rules.push({type: "neverfinalrule"
|
rules.push({type: "neverfinalrule"
|
||||||
, dec_end:
|
, dec_end:
|
||||||
["く","す","つ","う","る","る","ぐ","ぶ","ぬ","む","る","う","く"]
|
["く","す","つ","う","る","ぐ","ぶ","ぬ","む","る","う","く"]
|
||||||
, con_end:
|
, con_end:
|
||||||
["け","せ","て","え","れ","れ","げ","べ","ね","め","れ","え","け"]
|
["け","せ","て","え","れ","げ","べ","ね","め","れ","え","け"]
|
||||||
, dec_tag:
|
, dec_tag:
|
||||||
["v5k","v5s","v5t","v5u","v5r","v5r-i","v5g","v5b","v5n","v5m","v1","v5u-s","v5k-s"]
|
["v5k","v5s","v5t","v5u","v5r","v5g","v5b","v5n","v5m","v1","v5u-s","v5k-s"]
|
||||||
, con_tag:"stem-e", detail:"(izenkei)"});
|
, con_tag:"stem-izenkei", detail:"(izenkei)"});
|
||||||
|
// the potential of v5r-i verbs does not use a simple e ending, it uses the ren'youkei (infinitive) followed by える, thus ありえる
|
||||||
|
rules.push({type: "neverfinalrule", dec_end:"る", con_end:"れ", dec_tag: "v5r-i", con_tag:"stem-e", detail:"(izenkei)"});
|
||||||
|
rules.push({type: "neverfinalrule", dec_end:"", con_end:"", dec_tag: "stem-izenkei", con_tag:"stem-e", detail:""});
|
||||||
|
|
||||||
// true imperative
|
// true imperative
|
||||||
rules.push({type: "onlyfinalrule"
|
rules.push({type: "onlyfinalrule"
|
||||||
@@ -368,7 +371,8 @@ rules.push({type: "stdrule", dec_end:"", con_end:"れば", dec_tag:"stem-ke", co
|
|||||||
////////////////////
|
////////////////////
|
||||||
|
|
||||||
//passive and potential
|
//passive and potential
|
||||||
rules.push({type: "stdrule", dec_end:"", con_end:"る", dec_tag:"stem-e", con_tag:"v1", detail:"potential"}); // FIXME don't allow to attach to the short causative
|
rules.push({type: "stdrule", dec_end:"", con_end:"る", dec_tag:"stem-izenkei", con_tag:"v1", detail:"potential"}); // FIXME don't allow to attach to the short causative
|
||||||
|
rules.push({type: "stdrule", dec_end:"る", con_end:"りえる", dec_tag:"v5r-i", con_tag:"v1", detail:"potential"}); // v5r-i verbs have an irregular potential
|
||||||
// note: ichidan (i.e. v1) verbs cannot conjugate to stem-a
|
// note: ichidan (i.e. v1) verbs cannot conjugate to stem-a
|
||||||
rules.push({type: "stdrule", dec_end:"", con_end:"れる", dec_tag:"stem-a", con_tag:"v1", detail:"passive"});
|
rules.push({type: "stdrule", dec_end:"", con_end:"れる", dec_tag:"stem-a", con_tag:"v1", detail:"passive"});
|
||||||
rules.push({type: "stdrule", dec_end:"る", con_end:"られる", dec_tag:"v1", con_tag:"v1", detail:"passive/potential"});
|
rules.push({type: "stdrule", dec_end:"る", con_end:"られる", dec_tag:"v1", con_tag:"v1", detail:"passive/potential"});
|
||||||
@@ -782,21 +786,21 @@ async function update_icon(enabled)
|
|||||||
{
|
{
|
||||||
if(enabled)
|
if(enabled)
|
||||||
{
|
{
|
||||||
|
browser.browserAction.setTitle({title:"Nazeka (enabled)"});
|
||||||
browser.browserAction.setIcon({path:{
|
browser.browserAction.setIcon({path:{
|
||||||
"16": "img/enabled16.png",
|
"16": "img/enabled16.png",
|
||||||
"32": "img/enabled32.png",
|
"32": "img/enabled32.png",
|
||||||
"512": "img/enabled512.png"
|
"512": "img/enabled512.png"
|
||||||
}},);
|
}},);
|
||||||
browser.browserAction.setTitle({title:"Nazeka (enabled)"});
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
browser.browserAction.setTitle({title:"Nazeka (disabled)"});
|
||||||
browser.browserAction.setIcon({path:{
|
browser.browserAction.setIcon({path:{
|
||||||
"16": "img/action16.png",
|
"16": "img/action16.png",
|
||||||
"32": "img/action32.png",
|
"32": "img/action32.png",
|
||||||
"512": "img/action512.png"
|
"512": "img/action512.png"
|
||||||
}},);
|
}},);
|
||||||
browser.browserAction.setTitle({title:"Nazeka (disabled)"});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
<input id="fixedwidth" type="checkbox" name=fixedwidth class=panel-formElements-item/><label for=fixedwidth class=panel-formElements-item>Fixed width</label><br>
|
<input id="fixedwidth" type="checkbox" name=fixedwidth class=panel-formElements-item/><label for=fixedwidth class=panel-formElements-item>Fixed width</label><br>
|
||||||
<input id="fixedwidthpositioning" type="checkbox" name=fixedwidthpositioning class=panel-formElements-item/><label for=fixedwidthpositioning class=panel-formElements-item>Position as though fixed width</label><br>
|
<input id="fixedwidthpositioning" type="checkbox" name=fixedwidthpositioning class=panel-formElements-item/><label for=fixedwidthpositioning class=panel-formElements-item>Position as though fixed width</label><br>
|
||||||
<input id="length" type="number" min="6" max="100" value="25" name=length class=panel-formElements-item/><label for=length class=panel-formElements-item>Search length (characters) (default 25, sane values are from 25 to 50)</label><br>
|
<input id="length" type="number" min="6" max="100" value="25" name=length class=panel-formElements-item/><label for=length class=panel-formElements-item>Search length (characters) (default 25, sane values are from 25 to 50)</label><br>
|
||||||
<p>This extension uses JMdict, which is Copyright (C) 2017 The Electronic Dictionary Research and Development Group and licensed under the <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA 3.0</a> license.</p>
|
<p>This extension uses JMdict, which is Copyright © 2017 The Electronic Dictionary Research and Development Group and licensed under the <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA 3.0</a> license.</p>
|
||||||
<p>This extension is otherwise licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, version 2.0</a>.</p>
|
<p>This extension is otherwise licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, version 2.0</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in new issue
Block a user