Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kanbun
ud-kanbun
Commits
5f797a0c
Commit
5f797a0c
authored
Jan 16, 2021
by
Koichi Yasuoka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lemma style changed into traditional/simplified
parent
a9dd2946
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
conllusvg/editor-kanbun.html
conllusvg/editor-kanbun.html
+8
-3
No files found.
conllusvg/editor-kanbun.html
View file @
5f797a0c
<!DOCTYPE html>
<head><meta
charset=
"UTF-8"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<title>
CoNLL-U SVG Editor for 漢文 by 安岡孝一,
October 29
, 202
0
.
</title>
<title>
CoNLL-U SVG Editor for 漢文 by 安岡孝一,
January 16
, 202
1
.
</title>
<script
src=
"conllusvgview.js"
></script>
<script
src=
"conllusvgedit.js"
></script>
<script
src=
"conllusvgload.js"
></script>
...
...
@@ -436,8 +436,13 @@ conllusvg.kanbun.onLoadGloss=function(e){
s
=
s
.
slice
(
k
+
1
);
}
k
=
t
.
split
(
"
,
"
);
if
(
k
[
13
]
>
""
&&
k
[
13
].
indexOf
(
"
*
"
)
<
0
&&
k
[
13
].
indexOf
(
"
?
"
)
<
0
)
conllusvg
.
kanbun
.
gloss
[
k
[
0
]
+
"
,
"
+
k
[
10
]
+
"
,
"
+
k
[
4
]
+
"
,
"
+
k
[
5
]
+
"
,
"
+
k
[
6
]
+
"
,
"
+
k
[
7
]]
=
k
[
13
];
if
(
k
[
13
]
>
""
&&
k
[
13
].
indexOf
(
"
*
"
)
<
0
&&
k
[
13
].
indexOf
(
"
?
"
)
<
0
){
j
=
k
[
10
];
i
=
j
.
indexOf
(
"
/
"
);
if
(
i
>
1
)
j
=
j
.
substring
(
0
,
i
);
conllusvg
.
kanbun
.
gloss
[
k
[
0
]
+
"
,
"
+
j
+
"
,
"
+
k
[
4
]
+
"
,
"
+
k
[
5
]
+
"
,
"
+
k
[
6
]
+
"
,
"
+
k
[
7
]]
=
k
[
13
];
}
}
}
conllusvg
.
kanbun
.
request
.
removeEventListener
(
"
load
"
,
conllusvg
.
kanbun
.
onLoadGloss
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment