<commit_before>package org.networklibrary.core.parsing;

import java.util.Collection;

public interface Parser<T> {

	boolean hasHeader();
	void parseHeader(String header);
	Collection<T> parse(String line);

}
<commit_msg>added the ability for the parser to take extra parameters<commit_after>package org.networklibrary.core.parsing;

import java.util.Collection;
import java.util.List;

public interface Parser<T> {

	boolean hasHeader();
	void parseHeader(String header);
	Collection<T> parse(String line);

	boolean hasExtraParameters();
	void takeExtraParameters(List<String> extras);
	
}

{'fraction_non_alphanumeric': 0.1026936026936027, 'fraction_numerical': 0.0, 'mean_word_length': 6.345679012345679, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '5448684', 'n_tokens_mistral': 179, 'n_tokens_neox': 173, 'n_words': 46}