<commit_before>#!/usr/bin/env python

import re, sys, random

r=random.Random()

vowel='[aeiouAEIOU]'
consonant='[bcdfghjklmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ]'
syllable='('+consonant+'+'+vowel+'+'+consonant+'+|\s'+vowel+'+'+consonant+'+|'+consonant+'+'+vowel+'+\s)'

syllableR = re.compile(syllable)

candidates=[]

for line in sys.stdin.readlines():
	x=re.findall(syllableR, line)<commit_msg>some words contain only vowels, and are syllables by themselves<commit_after>#!/usr/bin/env python

import re, sys, random

r=random.Random()

vowel='[aeiouAEIOU]'
consonant='[bcdfghjklmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ]'
syllable='('+consonant+'+'+vowel+'+'+consonant+'+|\s'+vowel+'+'+consonant+'+|'+consonant+'+'+vowel+'+\s|\s'+vowel+'+\s)'

syllableR = re.compile(syllable)

candidates=[]

for line in sys.stdin.readlines():
	x=re.findall(syllableR, line)
{'fraction_non_alphanumeric': 0.21083627797408716, 'fraction_numerical': 0.0, 'mean_word_length': 9.119047619047619, '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': '2024662', 'n_tokens_mistral': 402, 'n_tokens_neox': 385, 'n_words': 46}