Loading conllusvg/editor-kanbun.html +6 −1 Original line number Diff line number Diff line <!DOCTYPE html><head><meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>CoNLL-U SVG Editor for 漢文 by 安岡孝一, October 5, 2019.</title> <title>CoNLL-U SVG Editor for 漢文 by 安岡孝一, January 3, 2020.</title> <script src="conllusvgview.js"></script> <script src="conllusvgedit.js"></script> <script src="conllusvgload.js"></script> Loading Loading @@ -326,6 +326,11 @@ conllusvg.kanbun.checkLinks=function(textid){ if(k!="ADV"&&k!="VERB"&&k!="NUM"&&k!="CCONJ"&&k!="PART") p=1; } if(p==0&&d=="det"){ k=c.nodes[f].upostag; if(k=="ADV") p=1; } if(p==0&&(d=="nmod"||d=="compound"||d=="flat")){ k=c.nodes[f].upostag; if(k=="NOUN"||k=="PROPN"||k=="PRON"||k=="NUM"||k=="PART") Loading Loading
conllusvg/editor-kanbun.html +6 −1 Original line number Diff line number Diff line <!DOCTYPE html><head><meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>CoNLL-U SVG Editor for 漢文 by 安岡孝一, October 5, 2019.</title> <title>CoNLL-U SVG Editor for 漢文 by 安岡孝一, January 3, 2020.</title> <script src="conllusvgview.js"></script> <script src="conllusvgedit.js"></script> <script src="conllusvgload.js"></script> Loading Loading @@ -326,6 +326,11 @@ conllusvg.kanbun.checkLinks=function(textid){ if(k!="ADV"&&k!="VERB"&&k!="NUM"&&k!="CCONJ"&&k!="PART") p=1; } if(p==0&&d=="det"){ k=c.nodes[f].upostag; if(k=="ADV") p=1; } if(p==0&&(d=="nmod"||d=="compound"||d=="flat")){ k=c.nodes[f].upostag; if(k=="NOUN"||k=="PROPN"||k=="PRON"||k=="NUM"||k=="PART") Loading