<commit_before>#!/bin/bash
if [ ! -d php ]; then
  tar -xf php.tar.gz
  cp libxml.patch php
  pushd php
  cat libxml.patch | patch -p0
  rm libxml.patch
  ./configure --build=i686-pc-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"
  popd
fi
<commit_msg>Added installation to local root into PHP prepare script.<commit_after>#!/bin/bash
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
INSTALL_TO="$DIR/local-root"

if [ ! -d php ]; then
  mkdir -p local-root
  tar -xf php.tar.gz
  cp libxml.patch php
  pushd php
  cat libxml.patch | patch -p0
  rm libxml.patch
  ./configure --prefix=$INSTALL_TO --build=i686-pc-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"
  popd
fi

{'fraction_non_alphanumeric': 0.16063675832127353, 'fraction_numerical': 0.030390738060781478, 'mean_word_length': 3.298136645962733, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '3165415', 'n_tokens_mistral': 299, 'n_tokens_neox': 269, 'n_words': 70}