siulkilulki
9b76f4e8aa
Add annotator.py (highlighing hout within context done) Enhance parish2text.py (enable more flags, convert button)
14 lines
217 B
Python
Executable File
14 lines
217 B
Python
Executable File
#!/usr/bin/env python3
|
|
import sys
|
|
import re
|
|
|
|
d = {}
|
|
for line in sys.stdin:
|
|
line = line.rstrip('\n')
|
|
id_ = re.search('"(data/.*)" 2>', line).group(1)
|
|
d[id_] = line
|
|
|
|
for line in d.values():
|
|
print(line)
|
|
|