Navigation Menu

Skip to content

Commit

Permalink
Fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKohler committed Mar 12, 2020
1 parent 9c5143e commit 28d5f6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/wiki-extraction.sh
Expand Up @@ -49,6 +49,8 @@ function cleanup {


if [ $TYPE == "sample" ]; then
EXTRACTED_SENTENCES_PATH="$OUTPUT_PATH/extraction-sample.txt"

echo "Files created: $FILES_CREATED"
echo "Files updated: $FILES_UPDATED"
echo "Analyzing first rule file changed.."
Expand All @@ -65,7 +67,6 @@ if [ $TYPE == "sample" ]; then
LANGUAGE_FILE_NAME=${LANGUAGE_FILE_NAME/disallowed_words\//""}
LANGUAGE=${LANGUAGE_FILE_NAME/.toml/""}
LANGUAGE_CODE=${LANGUAGE/.txt/""}
EXTRACTED_SENTENCES_PATH="$OUTPUT_PATH/extraction-sample.txt"
elif [ $TYPE == "full" ]; then
echo "Commit: $COMMIT_MESSAGE"
EXTRACTION_OPTION=$(echo $COMMIT_MESSAGE | grep -o -e '--full-wiki-extraction=.*$' || [[ $? == 1 ]])
Expand Down

0 comments on commit 28d5f6f

Please sign in to comment.