<commit_before>require 'ruboto'

# will get called whenever the BroadcastReceiver receives an intent (whenever onReceive is called)
$broadcast_receiver.handle_receive do |context, intent|
  Log.v "MYAPP", intent.getExtras.to_s
end<commit_msg>Update sample to match new ruboto split<commit_after>require 'ruboto/broadcast_receiver'

# will get called whenever the BroadcastReceiver receives an intent (whenever onReceive is called)
RubotoBroadcastReceiver.new_with_callbacks do
  def on_receive(context, intent)
    Log.v "MYAPP", intent.getExtras.to_s
  end
end

{'fraction_non_alphanumeric': 0.06761565836298933, 'fraction_numerical': 0.0, 'mean_word_length': 6.311688311688312, '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': '3006481', 'n_tokens_mistral': 175, 'n_tokens_neox': 169, 'n_words': 53}