<commit_before>package it.unical.mat.embasp.asp;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
// TODO extend OUTPUT
public abstract class AnswerSets {

	protected String output;
	protected List<AnswerSet> answersets;

	public AnswerSets(String answersets) {
		this.answersets = new ArrayList<>();
		output = answersets;
		parse();
	}

	abstract protected void parse();

	public String getAnswerSetsString()  { return output;}

	public List<AnswerSet> getAnswersets(){
		return Collections.unmodifiableList(answersets);<commit_msg>Changed AnswerSets structure<commit_after>package it.unical.mat.embasp.asp;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import it.unical.mat.embasp.base.Output;

public abstract class AnswerSets extends Output {

	protected List<AnswerSet> answersets;

	public AnswerSets(String answersets) {
		this.answersets = new ArrayList<>();
		this.output = answersets;
		parse();
	}

	abstract protected void parse();

	public String getAnswerSetsString()  { return this.output;}

	public List<AnswerSet> getAnswersets(){
		return Collections.unmodifiableList(answersets);
{'fraction_non_alphanumeric': 0.10179640718562874, 'fraction_numerical': 0.0, 'mean_word_length': 5.573033707865169, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '6644617', 'n_tokens_mistral': 369, 'n_tokens_neox': 335, 'n_words': 87}