<commit_before>#!/bin/bash 

KEYWORDS_NEON="(\bNeon\b|\bNeons\b)"
KEYWORDS_NEON_EXCLUDE="(Dodge|Plymouth) Neon|[0-9]{2,} Neon"
KEYWORDS_HELIUM="\bHelium"
KEYWORDS_ARGON="\bArgon\b|\bArgons\b"
KEYWORDS_KRYPTON="Krypton"
KEYWORDS_KRYPTON_EXCLUDE="Kryptonite|Superman|planet Krypton|Kryptonian"
KEYWORDS_XENON="\bXenon"
KEYWORDS_XENON_EXCLUDE="LG Xenon"
KEYWORDS_RADON="\bRadon"
KEYWORDS_UNUNOCTIUM="Ununoctium"

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

  debug_start "Group 18 elements"

  NEON=$(egrep -i "$KEYWORDS_NEON" "$NEWPAGES" | egrep -iv "$KEYWORDS_NEON_EXCLUDE")
  HELIUM=$(egrep -i "$KEYWORDS_HELIUM" "$NEWPAGES")
  ARGON=$(egrep -i "$KEYWORDS_ARGON" "$NEWPAGES")
  KRYPTON=$(egrep -i "$KEYWORDS_KRYPTON" "$NEWPAGES" | egrep -iv "$KEYWORDS_KRYPTON_EXCLUDE")
  XENON=$(egrep -i "$KEYWORDS_XENON" "$NEWPAGES" | egrep -iv "$KEYWORDS_XENON_EXCLUDE")
  RADON=$(egrep -i "$KEYWORDS_RADON" "$NEWPAGES")
  UNUNOCTIUM=$(egrep -i "$KEYWORDS_UNUNOCTIUM" "$NEWPAGES")

  categorize "NEON" "Neon"
  categorize "HELIUM" "Helium"<commit_msg>Adding keyword exclusion for Neon<commit_after>#!/bin/bash 

KEYWORDS_NEON="(\bNeon\b|\bNeons\b)"
KEYWORDS_NEON_EXCLUDE="(Dodge|Plymouth) Neon|[0-9]{2,}(| )Neon|Neon(| )Genesis(| )Evangelion"
KEYWORDS_HELIUM="\bHelium"
KEYWORDS_ARGON="\bArgon\b|\bArgons\b"
KEYWORDS_KRYPTON="Krypton"
KEYWORDS_KRYPTON_EXCLUDE="Kryptonite|Superman|planet Krypton|Kryptonian"
KEYWORDS_XENON="\bXenon"
KEYWORDS_XENON_EXCLUDE="LG Xenon"
KEYWORDS_RADON="\bRadon"
KEYWORDS_UNUNOCTIUM="Ununoctium"

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

  debug_start "Group 18 elements"

  NEON=$(egrep -i "$KEYWORDS_NEON" "$NEWPAGES" | egrep -iv "$KEYWORDS_NEON_EXCLUDE")
  HELIUM=$(egrep -i "$KEYWORDS_HELIUM" "$NEWPAGES")
  ARGON=$(egrep -i "$KEYWORDS_ARGON" "$NEWPAGES")
  KRYPTON=$(egrep -i "$KEYWORDS_KRYPTON" "$NEWPAGES" | egrep -iv "$KEYWORDS_KRYPTON_EXCLUDE")
  XENON=$(egrep -i "$KEYWORDS_XENON" "$NEWPAGES" | egrep -iv "$KEYWORDS_XENON_EXCLUDE")
  RADON=$(egrep -i "$KEYWORDS_RADON" "$NEWPAGES")
  UNUNOCTIUM=$(egrep -i "$KEYWORDS_UNUNOCTIUM" "$NEWPAGES")

  categorize "NEON" "Neon"
  categorize "HELIUM" "Helium"
{'fraction_non_alphanumeric': 0.17407938785270205, 'fraction_numerical': 0.005738880918220947, 'mean_word_length': 7.401606425702811, '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': '7652391', 'n_tokens_mistral': 1044, 'n_tokens_neox': 956, 'n_words': 135}