update 3 Mark.py

This commit is contained in:
Andley 2021-09-13 08:56:52 +08:00
parent 60cda08a22
commit ebdc195b39
3 changed files with 35828 additions and 35828 deletions

View File

@ -16,11 +16,11 @@ for line in Lines:
# add emphasis for Verbs
if (re.match(r'V-...-\d.',x[4])) or (re.match(r'V-....-\d.',x[4])):
f.write(x[0]+"\t"+x[1]+"\t"+x[2]+"\t"+x[3]+"\t**"+x[4]+"**\t"+x[5]+"\t"+x[6])
f.write(x[0]+"\t"+x[1]+"\t<strong>"+x[2]+"</strong>\t"+x[3]+"\t"+x[4]+"\t"+x[5]+"\t"+x[6])
# add emphasis for participles & infinitives
elif (re.match(r'V-..P-...',x[4])) or (re.match(r'V-...P-...',x[4])) or (re.match(r'V-..N',x[4])) or (re.match(r'V-...N',x[4])):
f.write(x[0]+"\t"+x[1]+"\t"+x[2]+"\t"+x[3]+"\t*"+x[4]+"*\t"+x[5]+"\t"+x[6])
f.write(x[0]+"\t"+x[1]+"\t<em>"+x[2]+"</em>\t"+x[3]+"\t"+x[4]+"\t"+x[5]+"\t"+x[6])
else:
f.write(x[0]+"\t"+x[1]+"\t"+x[2]+"\t"+x[3]+"\t"+x[4]+"\t"+x[5]+"\t"+x[6])

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff