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