<commit_before>List<String> vowels = ['a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U', 'i']

String input = new File('../results/wap.txt').getText()
StringBuilder output = new StringBuilder()
StringBuilder vow = new StringBuilder()

for(char c : input.toCharArray()){
	if(c == ' ') {}
	else if(vowels.contains(c)) vow.append(c)
	else output.append(c)
}

println output
println vow
<commit_msg>disemvoweler very fast<commit_after>List<String> vowels = ['a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U', 'i']

BufferedReader br = new BufferedReader(new InputStreamReader(System.in))
BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out))

char c
while((c = br.read()) >= 0) {
	if(c == ' ') {}
	else if(vowels.contains(c)) bw.write(c)
	else bw.write(c)
}

{'fraction_non_alphanumeric': 0.2186287192755498, 'fraction_numerical': 0.00129366106080207, 'mean_word_length': 5.2926829268292686, 'pattern_counts': {'":': 0, '<': 5, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4006134', 'n_tokens_mistral': 305, 'n_tokens_neox': 298, 'n_words': 74}