diff --git a/devtools/tag_test.sh b/devtools/tag_test.sh index bb308eab8..34b45520c 100755 --- a/devtools/tag_test.sh +++ b/devtools/tag_test.sh @@ -1,7 +1,7 @@ #shell script to see if there are tags which are not declared in root.lexc or if tags are misspelled echo 'Are there tags not declared in root.lexc or misspelled?' -cat src/fst/morphology/clitics.lexc src/fst/morphology/compounding.lexc src/fst/affixes/*lexc src/fst/morphology/stems/*lexc ../shared-smi/src/fst/stems/*lexc |cut -d '!' -f1 |grep ' ;' | cut -d ':' -f1 |rev |cut -d ' ' -f1 |rev |sed 's/+/¢+/g' |sed 's/@/¢@/g'|tr '¢' '\n' | tr '#"' '\n'| egrep '(\+|@)' |sort -u | egrep -v '^(\+|\+%|\+\/\-|\+Cmp\-|\+Cmp%\-|\@0|\@%)$' > lexctags +cat src/fst/morphology/clitics.lexc src/fst/morphology/compounding.lexc src/fst/affixes/*lexc src/fst/morphology/stems/*lexc ../shared-smi/src/fst/stems/*lexc |cut -d '!' -f1 |grep ' ;' | cut -d ':' -f1 |rev |cut -d ' ' -f1 |rev |sed 's/+/¢+/g' |sed 's/@/¢@/g'|tr '¢' '\n' | tr '#"' '\n'| egrep '(\+|@)' |sort -u | egrep -v '^(\+|\+%|\+\/\-|\+Cmp\-|\+Cmp%\-|\@0|\@%|\@%%)$' > lexctags cat src/fst/morphology/root.lexc |cut -d '!' -f1 |cut -d ':' -f1 |sed 's/+/¢+/g'|sed 's/@/¢@/g' |tr '¢' '\n' | egrep '(\+|@)' |tr -d ' ' | tr -d '\t'|sort -u > roottags