<commit_before>package com.springdeveloper.hadoop.batch;

import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Scanner;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.batch.core.BatchStatus;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.JobParameter;
import org.springframework.batch.core.JobParameters;
import org.springframework.batch.core.JobParametersBuilder;
import org.springframework.batch.core.launch.JobLauncher;
import org.springframework.beans.factory.BeanInitializationException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.util.Assert;

public class BatchApp {

	private static final Log log = LogFactory.getLog(BatchApp.class);

	public static void main(String[] args) throws Exception {
		AbstractApplicationContext context = 
				new ClassPathXmlApplicationContext("classpath:/META-INF/spring/application-context.xml");
		log.info("Batch Tweet to Avro Application Running");<commit_msg>Cleaning up the main app<commit_after>package com.springdeveloper.hadoop.batch;

import java.util.Date;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.JobParametersBuilder;
import org.springframework.batch.core.launch.JobLauncher;
import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class BatchApp {

	private static final Log log = LogFactory.getLog(BatchApp.class);

	public static void main(String[] args) throws Exception {
		AbstractApplicationContext context = 
				new ClassPathXmlApplicationContext("classpath:/META-INF/spring/application-context.xml");
		log.info("Batch Tweet to Avro Application Running");
{'fraction_non_alphanumeric': 0.09244917715392062, 'fraction_numerical': 0.0, 'mean_word_length': 6.859315589353612, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5525569', 'n_tokens_mistral': 557, 'n_tokens_neox': 535, 'n_words': 109}