<commit_before>package org.santhoshkumar.PatternSearching;

/**
 * Created by sk010962 on 10/16/2015.
 *
 * Constraint: Brute-force algorithm needs backup for every mismatch.
 * Solution: 1. Use pattern size buffer buffer
 *           2. Use better algorithm
 *<commit_msg>Brute force pattern searching<commit_after>package org.santhoshkumar.PatternSearching;

/**
 * Created by sk010962 on 10/16/2015.
 *
 * Constraint: Brute-force algorithm needs backup for every mismatch.
 * Solution: 1. Use pattern size buffer buffer for backup
 *           2. Use better algorithm
 *
{'fraction_non_alphanumeric': 0.08376963350785341, 'fraction_numerical': 0.055846422338568937, 'mean_word_length': 3.629032258064516, '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': '4819651', 'n_tokens_mistral': 187, 'n_tokens_neox': 162, 'n_words': 57}