<commit_before>#!/bin/bash

export KEYWORDS_ACTOR_SEANPENN="Sean(| )Penn"

egrep -i "$KEYWORDS_ACTOR_SEANPENN" newpages.txt >> SeanPenn.txt

SEANPENN=`stat --print=%s SeanPenn.txt`

if [ $SEANPENN -ne 0 ];
then
  export CATFILE="SeanPenn.txt"
  export CATNAME="Sean Penn"
  $CATEGORIZE
fi

rm SeanPenn.txt<commit_msg>Optimize Sean Penn<commit_after>#!/bin/bash

KEYWORDS_ACTOR_SEANPENN="Sean(| )Penn"

if [ "$1" == "" ];
then

  SEANPENN=`egrep -i "$KEYWORDS_ACTOR_SEANPENN" newpages.txt`

  if [ $SEANPENN -ne 0 ];
  then
    egrep -i "$KEYWORDS_ACTOR_SEANPENN" newpages.txt > SeanPenn.txt
    export CATFILE="SeanPenn.txt"
    export CATNAME="Sean Penn"
    $CATEGORIZE
    rm SeanPenn.txt
    unset SEANPENN
  fi

fi
{'fraction_non_alphanumeric': 0.13212795549374132, 'fraction_numerical': 0.004172461752433936, 'mean_word_length': 4.217391304347826, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '5831975', 'n_tokens_mistral': 341, 'n_tokens_neox': 314, 'n_words': 59}