#! /bin/bash -e
# Last edited on 2025-12-08 20:22:05 by stolfi

# Befoe we apply {convert_evt_format_to_xevt_format.gawk}, we must undo some
# changes that were made to the EVT format from 16e6 to 20e1 (see note 672).
#
# Some of the fixes to 20e1, like replacing groups like "(cfhh)" and "(yko)" by 
# implicit grouls like "cfhh" or weirdo codes like "*{&yko}" or *{311}"
# "were done manually (see Note-074.txt)
# 
# In the file that results from that edit, weirdos are
# denoted by numeric codes like "*{&311}" or mnemonic codes like "*{&YKo}".
#
# We also must fix some specific quirks, like {?} inside compounds and
# weirdos, that would choke {convert_evt_format_to_xevt_format.gawk}}.

!!!???

!!!??? \
  | ./preprocess_text210e1-52_evt.gawk \
  | ./convert_evt_format_to_xevt_format.gawk \
      -f convert_evt_to_xevt_funcs.gawk \
  > !!!???
