update 3 Mark.py
This commit is contained in:
parent
60cda08a22
commit
ebdc195b39
|
@ -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])
|
||||
|
|
15506
tmp/OGNTa-Ruby.nt
15506
tmp/OGNTa-Ruby.nt
File diff suppressed because one or more lines are too long
56146
tmp/OGNTa-marked.txt
56146
tmp/OGNTa-marked.txt
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue