<commit_before>require 'yajl'
require 'tweetstream'

TweetStream.configure do |config|
  config.consumer_key = '<KEY>'
  config.consumer_secret = '0123456789'
  config.oauth_token = '<KEY>'
  config.oauth_token_secret = '0123456789'
  config.auth_method = :oauth
  config.parser   = :yajl
end

client = TweetStream::Client.new

client.on_error do |message|
  puts message
end

client.track("yankees")  do |status|
  puts "#{status.text}"
end<commit_msg>extra space removed<commit_after>require 'yajl'
require 'tweetstream'

TweetStream.configure do |config|
  config.consumer_key = '<KEY>'
  config.consumer_secret = '0123456789'
  config.oauth_token = '<KEY>'
  config.oauth_token_secret = '0123456789'
  config.auth_method = :oauth
  config.parser   = :yajl
end

client = TweetStream::Client.new

client.on_error do |message|
  puts message
end

client.track("yankees") do |status|
  puts "#{status.text}"
end
{'fraction_non_alphanumeric': 0.12294182217343579, 'fraction_numerical': 0.043907793633369926, 'mean_word_length': 5.08, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7174471', 'n_tokens_mistral': 358, 'n_tokens_neox': 327, 'n_words': 69}