<commit_before>#!/bin/sh

if [ -z "$1" ]; then
TWEETS=0
else
TWEETS=$1
fi
if [ -z "$2" ]; then
mkdir -p data
FILEPATH="data"
else
mkdir -p $2
FILEPATH=$2
fi

echo "Writing twitter data to /$FILEPATH ..." 
python twitterGeo.py $TWEETS $FILEPATH <commit_msg>update crawler.sh(2)<commit_after>#!/bin/sh

if [ -z "$2" ]; then
FILEPATH=$1
TWEETS=0
mkdir -p $1
elif [ -z "$1" ]; then
TWEETS=0
mkdir -p data
FILEPATH="data"
else
TWEETS=$1
DATAPATH=$2
mkdir -p $2
fi

echo "Writing twitter data to /$FILEPATH ..." 
python twitterGeo.py $TWEETS $FILEPATH 
{'fraction_non_alphanumeric': 0.1684981684981685, 'fraction_numerical': 0.029304029304029304, 'mean_word_length': 3.9279279279279278, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2514435', 'n_tokens_mistral': 253, 'n_tokens_neox': 229, 'n_words': 70}