<commit_before>/**
 * Copyright (c) 2014 by <NAME>.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Any modifications to this file must keep this entire header intact.
 */

package cafe.image.png;

import java.util.HashMap;
import java.util.Map;

/**
 * Define PNG image color types
 * 
 * @author <NAME>, <EMAIL> 
 * @version 1.0 07/29/2013
 */
public enum ColorType {	
	// Image color types
	GRAY_SCALE(0, "Gray-scale: each pixel is a grayscale sample."),
	TRUE_COLOR(2, "True-color: each pixel is an R,G,B triple."),
	INDEX_COLOR(3, "Index-color: each pixel is a palette index; a PLTE chunk must appear."), 
	GRAY_SCALE_WITH_ALPHA(4, "Gray-scale-with-alpha: each pixel is a grayscale sample, followed by an alpha sample."), 
	TRUE_COLOR_WITH_ALPHA(6, "True-color-with-alpha: each pixel is an R,G,B triple, followed by an alpha sample."), 
    
	UNKNOWN(999, "UNKNOWN"); // We don't know this color type
	
	private ColorType(int value, String description)
    {
    	this.value = value;
        this.description = description;	
    }    
    
    public String getDescription()
    {
    	return this.description;
    }
    
    public int getValue()
    {<commit_msg>Grammar change<commit_after>/**
 * Copyright (c) 2014 by <NAME>.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Any modifications to this file must keep this entire header intact.
 */

package cafe.image.png;

import java.util.HashMap;
import java.util.Map;

/**
 * Define PNG image color types
 * 
 * @author <NAME>, <EMAIL> 
 * @version 1.0 07/29/2013
 */
public enum ColorType {	
	// Image color types
	GRAY_SCALE(0, "Gray-scale: each pixel is a grayscale sample."),
	TRUE_COLOR(2, "True-color: each pixel is a R,G,B triple."),
	INDEX_COLOR(3, "Index-color: each pixel is a palette index; a PLTE chunk must appear."), 
	GRAY_SCALE_WITH_ALPHA(4, "Gray-scale-with-alpha: each pixel is a grayscale sample, followed by an alpha sample."), 
	TRUE_COLOR_WITH_ALPHA(6, "True-color-with-alpha: each pixel is a R,G,B triple, followed by an alpha sample."), 
    
	UNKNOWN(999, "UNKNOWN"); // We don't know this color type
	
	private ColorType(int value, String description)
    {
    	this.value = value;
        this.description = description;	
    }    
    
    public String getDescription()
    {
    	return this.description;
    }
    
    public int getValue()
    {
{'fraction_non_alphanumeric': 0.1084030556566024, 'fraction_numerical': 0.018915969443433975, 'mean_word_length': 3.310344827586207, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1765064', 'n_tokens_mistral': 916, 'n_tokens_neox': 853, 'n_words': 301}