<commit_before><commit_msg>Use BufferedReader to read characters<commit_after>import java.io.*;

public class BRRead
{
  public static void main(String args[]) throws IOException
  {
    char c;

    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    System.out.println("Enter characters, 'q' to quit.");

    // read char
    do
    {
      c = (char) br.read();
      System.out.println(c);
    } while (c != 'q');
  }
}
{'fraction_non_alphanumeric': 0.133630289532294, 'fraction_numerical': 0.0, 'mean_word_length': 3.1666666666666665, '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': '3373432', 'n_tokens_mistral': 142, 'n_tokens_neox': 139, 'n_words': 38}