Skip to content

Commit

Permalink
remove irrelevant files
Browse files Browse the repository at this point in the history
  • Loading branch information
Trondtr committed Nov 15, 2024
1 parent 271d35b commit 394d432
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions devtools/tag_test.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#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/compounding.lexc \
src/fst/morphology/affixes/*lexc \
src/fst/morphology/stems/*lexc ../shared-smi/src/fst/stems/*lexc | \
cat src/fst/morphology/affixes/*lexc \
src/fst/morphology/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
Expand Down

0 comments on commit 394d432

Please sign in to comment.