<commit_before># frozen_string_literal: true
module Twitter
  class Tweet
    attr_reader :id, :created_at, :text

    def initialize(data)
      p data
      @id = data['id']
      @created_at = DateTime.parse(data['created_at'])
      @text = data['text']
    end

    def self.search(*tags, using_client:)
      client = using_client
      client.search_tweets(tags).map { |data| Tweet.new(data) }
    end<commit_msg>Remove redundant STDOUT<commit_after># frozen_string_literal: true
module Twitter
  class Tweet
    attr_reader :id, :created_at, :text

    def initialize(data)
      @id = data['id']
      @created_at = DateTime.parse(data['created_at'])
      @text = data['text']
    end

    def self.search(*tags, using_client:)
      client = using_client
      client.search_tweets(tags).map { |data| new(data) }
    end
{'fraction_non_alphanumeric': 0.12154031287605295, 'fraction_numerical': 0.0, 'mean_word_length': 3.2448979591836733, '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': '2317102', 'n_tokens_mistral': 278, 'n_tokens_neox': 269, 'n_words': 61}