<commit_before>package de.unibonn.iai.eis.diachron.qualitymetrics;

import java.util.List;

import com.hp.hpl.jena.graph.Triple;
import com.hp.hpl.jena.rdf.model.Resource;
import com.hp.hpl.jena.sparql.core.Quad;

/**
 * @author jdebattist
 * 
 */
public interface QualityMetric {

	/**
	 * This method should compute the metric. A
	 * 
	 * @param The Quad <s,p,o,c> passed by the stream processor to the quality metric
	 */
	void compute(Quad quad);

	/**
	 * @return the value computed by the Quality Metric
	 */
	double metricValue();

	/**
	 * This method will return daQ triples which will be stored in the dataset
	 * QualityGraph.
	 * 
	 * @return a list of daQ triples
	 */
	List<Triple> toDAQTriples();

	
	/**
	 * @return returns the daQ URI of the Quality Metric
	 */
	Resource getMetricURI();
}<commit_msg>Update the javadoc comments for QualityMetric interface<commit_after>package de.unibonn.iai.eis.diachron.qualitymetrics;

import java.util.List;

import com.hp.hpl.jena.graph.Triple;
import com.hp.hpl.jena.rdf.model.Resource;
import com.hp.hpl.jena.sparql.core.Quad;

/**
 * @author jdebattist
 * 
 */
public interface QualityMetric {

	/**
	 * This method should compute the metric.
	 * 
	 * @param The Quad <s,p,o,c> passed by the stream processor to the quality metric
	 */
	void compute(Quad quad);

	/**
	 * @return the value computed by the Quality Metric
	 */
	double metricValue();

	/**
	 * This method will return daQ triples which will be stored in the dataset
	 * QualityGraph.
	 * 
	 * @return a list of daQ triples
	 */
	List<Triple> toDAQTriples();

	
	/**
	 * @return returns the daQ URI of the Quality Metric
	 */
	Resource getMetricURI();
}
{'fraction_non_alphanumeric': 0.11455847255369929, 'fraction_numerical': 0.0, 'mean_word_length': 3.3900523560209423, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5398387', 'n_tokens_mistral': 600, 'n_tokens_neox': 550, 'n_words': 167}