<commit_before>package edu.jhu.thrax.extraction;

import java.util.Collection;
import edu.jhu.thrax.datatypes.IntPair;
import edu.jhu.thrax.util.exceptions.MalformedInputException;

public interface SpanLabeler
{
    public void setInput(String inp) throws MalformedInputException;

    public Collection<Integer> getLabels(IntPair span);
}

<commit_msg>simplified SpanLabeler interface<commit_after>package edu.jhu.thrax.extraction;

public interface SpanLabeler
{
    public String getLabel(int start, int end);
}


{'fraction_non_alphanumeric': 0.0851063829787234, 'fraction_numerical': 0.0, 'mean_word_length': 6.0, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1206580', 'n_tokens_mistral': 172, 'n_tokens_neox': 168, 'n_words': 34}