<commit_before>package pers.hal42.text;

import java.util.Stack;

/**
 * Created by Andy on 5/25/2017.
 * <p>
 * Intended for an argument list in which some members are instructions to include aother list.
 * The determination that a member is an include reference is outside of this class.
 * Sensing 'include loops' is also outside the domain of this class.
 * This class discards exhausted iterators, a loop checking one has to hold on to them (or the info used to create them) to look for multi-level loops linked by last member of a list.
 */
public class FancyArgIterator implements StringIterator {
<commit_msg>looks like we'll need a recursive descent parser to make sense of this bastardized format. The xml types are not definitive.<commit_after>package pers.hal42.text;

import java.util.Stack;

/**
 * Created by Andy on 5/25/2017.
 * <p>
 * Intended for an argument list in which some members are instructions to include another list.
 * The determination that a member is an include reference is outside of this class.
 * Sensing 'include loops' is also outside the domain of this class.
 * This class discards exhausted iterators, a loop checking one has to hold on to them (or the info used to create them) to look for multi-level loops linked by last member of a list.
 */
public class FancyArgIterator implements StringIterator {

{'fraction_non_alphanumeric': 0.055637982195845696, 'fraction_numerical': 0.013353115727002967, 'mean_word_length': 4.090566037735849, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '3858059', 'n_tokens_mistral': 354, 'n_tokens_neox': 337, 'n_words': 198}