<commit_before>package net.takkaw.jump_ruby_ml;

import android.app.Activity;
import android.os.Bundle;

public class JumpRubyMLActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
}<commit_msg>get Intent and display with Toast<commit_after>package net.takkaw.jump_ruby_ml;

import android.app.Activity;
import android.content.Intent;
import android.widget.Toast;

public class JumpRubyMLActivity extends Activity {

	/** Called when the activity is first created. */
//    @Override
//    public void onCreate(Bundle savedInstanceState) {
//        super.onCreate(savedInstanceState);
//        setContentView(R.layout.main);
//    	Log.v("test",getTweet());
//    }
	@Override
	public void onStart(){
		super.onStart();
		Toast.makeText(this, getTweet(), Toast.LENGTH_SHORT).show();
	}
    
	private String getTweet(){
		Intent i = getIntent();
		String tweet = i.getStringExtra(Intent.EXTRA_TEXT);
		return tweet;
	}
}
{'fraction_non_alphanumeric': 0.11562782294489611, 'fraction_numerical': 0.0, 'mean_word_length': 3.8596491228070176, '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': '3102593', 'n_tokens_mistral': 357, 'n_tokens_neox': 324, 'n_words': 77}