<commit_before>-- 

hook.Add( "Message", "WikI!", function( _, _, msg )
    local searchTerm = msg:match( "^what is (.*)%??" )
    
    if not searchTerm then
      return
    end
    
    searchTerm = searchTerm:match "^a (.*)" or searchTerm
    searchTerm = searchTerm:match "^an (.*)" or searchTerm
    searchTerm = searchTerm:gsub( " ", "%%20" )<commit_msg>Greedy<commit_after>-- 

hook.Add( "Message", "WikI!", function( _, _, msg )
    local searchTerm = msg:match( "^what is (.+)%??" )
    
    if not searchTerm then
      return
    end
    
    searchTerm = searchTerm:match "^a (.*)" or searchTerm
    searchTerm = searchTerm:match "^an (.*)" or searchTerm
    searchTerm = searchTerm:gsub( " ", "%%20" )
{'fraction_non_alphanumeric': 0.17062937062937064, 'fraction_numerical': 0.005594405594405594, 'mean_word_length': 2.912568306010929, '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': '7638965', 'n_tokens_mistral': 256, 'n_tokens_neox': 237, 'n_words': 60}