<commit_before>package cat.calidos.morfeu.transform;


/** Generic traversal and transformation algorithm
*	@author <NAME>
*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public class Transformer<T, O> {

private Context<Processor<T, O>, O> context;

public void Transformer(Context<Processor<T, O>, O> startingContext) {
	this.context = startingContext;
}


public O process() {

	while (!context.empty()) {
		//T current = context.pop();
		
	}

	return context.output();

}


}


/*
 *    Copyright 2019 <NAME>
 *<commit_msg>Standard transformation algorithm<commit_after>package cat.calidos.morfeu.transform;


/** Generic traversal and transformation algorithm
*	@author <NAME>
*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public class Transformer<T, O> {

private Context<T, O> context;


public void Transformer(Context<T, O> startingContext) {
	this.context = startingContext;
}


public O process() {

	while (!context.empty()) {
		Processor<T, O> current = context.pop();

	}

	return context.output();

}


@Override
public String toString() {

	// TODO Auto-generated method stub
	return super.toString();
}


}


/*
 *    Copyright 2019 <NAME>
 *
{'fraction_non_alphanumeric': 0.2930374904361132, 'fraction_numerical': 0.00612088752869166, 'mean_word_length': 1.9525959367945824, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, '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': '2012364', 'n_tokens_mistral': 360, 'n_tokens_neox': 332, 'n_words': 89}