#! /bin/sed -f
# Last edited on 2000-10-12 22:23:39 by stolfi
# Puts brackets around the valid groups of the OKOKOKO model
s/sh/{sh}/g
s/ch/{ch}/g
s/eeeee/{E}{E}e/g
s/eeee/{E}{E}/g
s/eee/{E}e/g
s/ee/{E}/g
s/cth/{T}/g
s/ckh/{K}/g
s/cph/{P}/g
s/cfh/{F}/g
s/\([ktpfKTPFCSE]\)}e/\1e}/g
s/E/ee/g
#
s/\([dlrsjxnmg]\)/{\1}/g
s/iiii{\([dlrsjxnmg]\)/{iiii\1/g
s/iii{\([dlrsjxnmg]\)/{iii\1/g
s/ii{\([dlrsjxnmg]\)/{ii\1/g
s/i{\([dlrsjxnmg]\)/{i\1/g
#
s/\([aoy][aoy]*\)/{\1}/g
#
s/q/{q}/g