<commit_before>package org.aksw.iguana.cc.lang.impl;

import org.aksw.iguana.cc.lang.AbstractLanguageProcessor;
import org.aksw.iguana.commons.io.BigByteArrayOutputStream;
import org.aksw.iguana.commons.streams.Streams;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.time.Instant;
import java.util.concurrent.TimeoutException;

public class ThrowawayLanguageProcessor extends AbstractLanguageProcessor {

    @Override
    public long readResponse(InputStream inputStream, Instant startTime, Double timeOut, BigByteArrayOutputStream responseBody) throws IOException, TimeoutException {
        return Streams.inputStream2Length(inputStream, startTime, timeOut);
    }

}<commit_msg>added ShortHand for Throwaway lang<commit_after>package org.aksw.iguana.cc.lang.impl;

import org.aksw.iguana.cc.lang.AbstractLanguageProcessor;
import org.aksw.iguana.commons.annotation.Shorthand;
import org.aksw.iguana.commons.io.BigByteArrayOutputStream;
import org.aksw.iguana.commons.streams.Streams;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.time.Instant;
import java.util.concurrent.TimeoutException;

@Shorthand("lang.SIMPLE")
public class ThrowawayLanguageProcessor extends AbstractLanguageProcessor {

    @Override
    public long readResponse(InputStream inputStream, Instant startTime, Double timeOut, BigByteArrayOutputStream responseBody) throws IOException, TimeoutException {
        return Streams.inputStream2Length(inputStream, startTime, timeOut);
    }

}
{'fraction_non_alphanumeric': 0.08333333333333333, 'fraction_numerical': 0.0012626262626262627, 'mean_word_length': 6.337962962962963, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5941085', 'n_tokens_mistral': 447, 'n_tokens_neox': 440, 'n_words': 89}