Skip to content
Snippets Groups Projects
Commit db182926 authored by Koichi Yasuoka's avatar Koichi Yasuoka
Browse files

check flat:vv

parent cb05fe10
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html><head><meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>CoNLL-U SVG Editor for 漢文 by 安岡孝一, December 23, 2021.</title>
<title>CoNLL-U SVG Editor for 漢文 by 安岡孝一, October 9, 2022.</title>
<script src="conllusvgview.js"></script>
<script src="conllusvgedit.js"></script>
<script src="conllusvgload.js"></script>
......@@ -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=="flat:vv"){
k=c.nodes[t].upostag;
if(k!="ADV"&&k!="VERB"&&k!="AUX")
p=1;
}
if(p==0&&d=="det"){
k=c.nodes[f].upostag;
if(k=="ADV")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment