<commit_before>#!/bin/bash

params="encode"
params="$params --infile /Users/bryanfeeney/opt/twitter-tools-spider/src/test/resources/spider"
params="$params --outfile /Users/bryanfeeney/Desktop/SmallDB"
params="$params --skip-retweets"
params="$params --start-date 20130501"
params="$params --end-date 20131001"
params="$params --enable-stemming"
params="$params --min-word-len 1"
params="$params --max-word-len 1000"
params="$params --min-word-count 10"
params="$params --incl-numbers"
params="$params --feat-author"
params="$params --feat-woy"
params="$params --feat-moy"
params="$params --dict-addrs __null_dict"
params="$params --dict-urls /Users/bryanfeeney/Desktop/DatasetStats/urls.txt"
params="$params --dict-words /Users/bryanfeeney/Desktop/DatasetStats/dictionary.txt"
params="$params --dict-stocks /Users/bryanfeeney/Desktop/DatasetStats/stocks.txt"
params="$params --dict-smileys /Users/bryanfeeney/Desktop/DatasetStats/smileys.txt"
params="$params --dict-tags /Users/bryanfeeney/Desktop/DatasetStats/hashtags.txt"
params="$params --selected-acs /Users/bryanfeeney/Dropbox/usershorter.txt"

jar_name="twitter-tools"
jar_version="1.1.1"
jar_dir="target"
jar_file="$jar_dir/$jar_name-$jar_version-jar-with-dependencies.jar"

#java -Xmx3000m -cp $jar_file cc.twittertools.scripts.Main $params
echo $params<commit_msg>Ensure params outputted in launch script. Also change param values<commit_after>#!/bin/bash

params="encode"
params="$params --infile /Users/bryanfeeney/opt/twitter-tools-spider/src/test/resources/spider"
params="$params --outfile /Users/bryanfeeney/Desktop/SmallDB"
params="$params --skip-retweets"
params="$params --start-date 20130501"
params="$params --end-date 20131001"
params="$params --enable-stemming"
params="$params --min-word-len 1"
params="$params --max-word-len 1000"
params="$params --min-word-count 10"
params="$params --incl-numbers"
params="$params --feat-author"
params="$params --feat-woy"
params="$params --feat-moy"
params="$params --dict-addrs __null_dict"
params="$params --dict-urls /Users/bryanfeeney/Desktop/DatasetStats2/urls-sorted.dict"
params="$params --dict-words /Users/bryanfeeney/Desktop/DatasetStats2/words-sorted.dict"
params="$params --dict-stocks /Users/bryanfeeney/Desktop/DatasetStats2/stocks-sorted.dict"
params="$params --dict-smileys /Users/bryanfeeney/Desktop/DatasetStats2/smileys-sorted.dict"
params="$params --dict-tags /Users/bryanfeeney/Desktop/DatasetStats2/hashtags-sorted.dict"
params="$params --selected-acs /Users/bryanfeeney/Dropbox/usershorter.txt"

jar_name="twitter-tools"
jar_version="1.1.1"
jar_dir="target"
jar_file="$jar_dir/$jar_name-$jar_version-jar-with-dependencies.jar"

echo $params
java -Xmx3000m -cp $jar_file cc.twittertools.scripts.Main $params

{'fraction_non_alphanumeric': 0.17170980678089684, 'fraction_numerical': 0.023696682464454975, 'mean_word_length': 5.709046454767726, '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': '5639565', 'n_tokens_mistral': 1022, 'n_tokens_neox': 953, 'n_words': 144}