- #!/bin/sh
- # Smalltag evaluation
- # Alex Krotov (alexk@dcs.shef.ac.uk)
- #
- # slightly changed by Tomas By
- #
- # eval
- #
- # Given a sample, a set of rules and lexicon
- # 1. Runs smalltag
- # 2. Evaluates the output agains the bnc sample
- #
- #
- # usage: test ruleset file
- #
- # assuming eval/file.out contains smalltag output,
- # eval/file.bnc contains the BNC source
- #
- ./smalltag $1 $2.txt
- ./one-line < $2.out > $2.stag
- cat $2.cmp
- rm $2.stag
Raw Paste