update puncuation marks
This commit is contained in:
parent
0de45d98e8
commit
1df731bd3f
|
@ -16,7 +16,7 @@ f1 = open(outputFile1,'w',encoding="utf_8_sig")
|
|||
for line in Lines:
|
||||
x = re.split("\t", line)
|
||||
|
||||
x[2] = re.sub(r"([\.,;·])",r"<strong>\1</strong>",x[2])
|
||||
x[2] = re.sub(r'([\.,;·])',r' <mark class="pm">\1</mark>',x[2])
|
||||
# print (x[2])
|
||||
|
||||
# add emphasis for Verbs
|
||||
|
@ -51,7 +51,7 @@ for line in Lines:
|
|||
x = re.split("\t", line)
|
||||
|
||||
|
||||
x[2] = re.sub(r"([\.,;·])",r"<strong>\1</strong>",x[2])
|
||||
x[2] = re.sub(r'([\.,;·])',r' <mark class="pm">\1</mark>',x[2])
|
||||
# print (x[2])
|
||||
|
||||
# add emphasis for Verbs
|
||||
|
|
15344
tmp/OGNTa-Ruby+CUV.nt
15344
tmp/OGNTa-Ruby+CUV.nt
File diff suppressed because it is too large
Load Diff
15344
tmp/OGNTa-Ruby.nt
15344
tmp/OGNTa-Ruby.nt
File diff suppressed because one or more lines are too long
15344
tmp/OGNTa-TC-Ruby.nt
15344
tmp/OGNTa-TC-Ruby.nt
File diff suppressed because one or more lines are too long
34690
tmp/OGNTa-TC-marked.txt
34690
tmp/OGNTa-TC-marked.txt
File diff suppressed because it is too large
Load Diff
34690
tmp/OGNTa-marked.txt
34690
tmp/OGNTa-marked.txt
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue