<commit_before>package ibm.coghack;

/**
 * Responsible for determining characteristics about a sentence from its text content.
 */
public class SentenceClassifier {
	
	/**
	 * String prefixes used to determine if a sentence is a question.
	 */
	private static String[] questionPrefixes = {"tell me about", "what", "how", "do you", "can you", "ok"};
	
	/**
	 * Determines if a sentence is a question.
	 * @param sentence
	 * @return <code>true</code> if the sentence is deemed a question <code>false</code> otherwise
	 */
	public static boolean isAQuestion(String sentence){
		
		String lowerCaseSentence = sentence.toLowerCase().trim();
	
		for(String questionPrefix : questionPrefixes){
			if(lowerCaseSentence.toLowerCase().startsWith(questionPrefix)){
				return true;
			}
		}<commit_msg>Adding another question prefix<commit_after>package ibm.coghack;

/**
 * Responsible for determining characteristics about a sentence from its text content.
 */
public class SentenceClassifier {
	
	/**
	 * String prefixes used to determine if a sentence is a question.
	 */
	private static String[] questionPrefixes = {"tell me about", "what", "how", "do you", "can you", "ok", "have"};
	
	/**
	 * Determines if a sentence is a question.
	 * @param sentence
	 * @return <code>true</code> if the sentence is deemed a question <code>false</code> otherwise
	 */
	public static boolean isAQuestion(String sentence){
		
		String lowerCaseSentence = sentence.toLowerCase().trim();
	
		for(String questionPrefix : questionPrefixes){
			if(lowerCaseSentence.toLowerCase().startsWith(questionPrefix)){
				return true;
			}
		}
{'fraction_non_alphanumeric': 0.11483550589695841, 'fraction_numerical': 0.0, 'mean_word_length': 4.250814332247557, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '365346', 'n_tokens_mistral': 488, 'n_tokens_neox': 435, 'n_words': 154}