<commit_before>#!/usr/bin/env bash
# Output commands and stop on first error
set -e
set -x

# If we are installing not using the default Travis version
if [[ "$PHANTOMJS_VERSION" != "TRAVIS" ]]; then
  # Uninstall current version
  sudo rm "$(which phantomjs)"

  # Download and install our version from website
  wget "https://phantomjs.googlecode.com/files/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2"
  tar xvf "phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2"
  sudo ln -s "$PWD/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin/phantomjs" "/usr/bin/phantomjs"
fi<commit_msg>Fixed up test installer<commit_after>#!/usr/bin/env bash
# Output commands and stop on first error
set -e
set -x

# If we are installing not using the default Travis version
if [[ "$PHANTOMJS_VERSION" != "TRAVIS" ]]; then
  # Uninstall current version
  sudo rm "$(which phantomjs)"

  # Download our version from the internet
  # If we are at a pre-bitbucket version, use Google code
  if [[ "$PHANTOMJS_VERSION" = "1.9.2" ]]; then
    wget "https://phantomjs.googlecode.com/files/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2"
  # Otherwise, use bitbucket
  else
    wget "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2"
  fi

  # Extract and install PhantomJS
  tar xvf "phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2"
  sudo ln -s "$PWD/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin/phantomjs" "/usr/bin/phantomjs"
fi
{'fraction_non_alphanumeric': 0.11969904240766074, 'fraction_numerical': 0.024623803009575923, 'mean_word_length': 4.339416058394161, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1017456', 'n_tokens_mistral': 570, 'n_tokens_neox': 510, 'n_words': 130}