From 87013ba29c376b432f41b99771ef7c81399d062f Mon Sep 17 00:00:00 2001 From: rey jean-Francois Date: Mon, 29 Jul 2013 16:47:54 +0200 Subject: [PATCH] change filter --- main_tools/ScoringRes.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main_tools/ScoringRes.sh b/main_tools/ScoringRes.sh index 88de96f..29bac02 100755 --- a/main_tools/ScoringRes.sh +++ b/main_tools/ScoringRes.sh @@ -138,7 +138,8 @@ do fi done < $SRT_FILE > $SCORING_DIR/$BASENAME.tmp.txt -cat $SCORING_DIR/$BASENAME.tmp.txt | sed -e "s|\n| |g" | $SCRIPT_PATH/CleanFilter.sh | $SCRIPT_PATH/ApplyCorrectionRules.pl ${LEXICON}.regex | $SCRIPT_PATH/BdlexUC.pl $RULES/basic -t | sed -e "s|||g" | sed -e "s|||g" | sed -e "s|\n+| |g" > $SCORING_DIR/$BASENAME.tmp2.txt +#cat $SCORING_DIR/$BASENAME.tmp.txt | sed -e "s|\n| |g" | $SCRIPT_PATH/CleanFilter.sh | $SCRIPT_PATH/ApplyCorrectionRules.pl ${LEXICON}.regex | $SCRIPT_PATH/BdlexUC.pl $RULES/basic -t | sed -e "s|||g" | sed -e "s|||g" | sed -e "s|\n+| |g" > $SCORING_DIR/$BASENAME.tmp2.txt +cat $SCORING_DIR/$BASENAME.tmp.txt | sed -e "s|\n| |g" | $SCRIPT_PATH/BdlexUC.pl $RULES/basic -t | sed -f $RULES/preprocess.regex | sed -f $RULES/lastprocess.regex | sed -e "s|||g" | sed -e "s|||g" | sed -e "s|\n+| |g" > $SCORING_DIR/$BASENAME.tmp2.txt $SCRIPT_PATH/srt2stm.pl $SCORING_DIR/$BASENAME.tmp2.txt > "$SCORING_DIR/$BASENAME.stm" rm $SCORING_DIR/$BASENAME.tmp.txt $SCORING_DIR/$BASENAME.tmp2.txt -- 1.8.2.3