<commit_before>module Viddler
  # This class wraps Viddler's comment's information.
  class Comment
  
    attr_accessor :author, :text, :time
  
    def initialize(attributes={}) #:nodoc:
      a = attributes
      @author = a['author']
      @text   = a['text']      
      @time   = Time.at(fix_unix_time(a['time']))
    end
    <commit_msg>Added timepoint attribute to comments (the ones made from the player have it).<commit_after>module Viddler
  # This class wraps Viddler's comment's information.
  class Comment
  
    attr_accessor :author, :text, :time, :timepoint
  
    def initialize(attributes={}) #:nodoc:
      a = attributes
      @author = a['author']
      @text   = a['text']      
      @time   = Time.at(fix_unix_time(a['time']))
      @timepoint = a['add_timepoint'].to_i / 1000
    end
    
{'fraction_non_alphanumeric': 0.12392638036809817, 'fraction_numerical': 0.0049079754601227, 'mean_word_length': 2.8130841121495327, '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': '2094120', 'n_tokens_mistral': 272, 'n_tokens_neox': 261, 'n_words': 68}