<commit_before>/**
 * This file contains the User class.
 */
package org.datasift;

import java.util.HashMap;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * The User class represents a user of the API. Applications should start their
 * API interactions by creating an instance of this class. Once initialised it
 * provides factory methods for all of the functionality in the API.
 * 
 * @author MediaSift
 * @version 0.2
 */
public class User {
	/**
	 * The user agent to be used for all HTTP requests.
	 * 
	 * @access public
	 */
	public final static String _user_agent = "DataSiftJava/0.3.2";

	/**
	 * The base URL for API calls. No http://, and with the trailing slash.
	 * 
	 * @access public
	 */
	public final static String _api_base_url = "api.datasift.net/";

	/**
	 * The base URL for HTTP streaming. No http://, and with the trailing slash.
	 * 
	 * @access public
	 */
	public final static String _stream_base_url = "stream.datasift.net/";

	/**
	 * The username of this user.<commit_msg>Removed final from stream url variable<commit_after>/**
 * This file contains the User class.
 */
package org.datasift;

import java.util.HashMap;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * The User class represents a user of the API. Applications should start their
 * API interactions by creating an instance of this class. Once initialised it
 * provides factory methods for all of the functionality in the API.
 * 
 * @author MediaSift
 * @version 0.2
 */
public class User {
	/**
	 * The user agent to be used for all HTTP requests.
	 * 
	 * @access public
	 */
	public final static String _user_agent = "DataSiftJava/0.3.2";

	/**
	 * The base URL for API calls. No http://, and with the trailing slash.
	 * 
	 * @access public
	 */
	public final static String _api_base_url = "api.datasift.net/";

	/**
	 * The base URL for HTTP streaming. No http://, and with the trailing slash.
	 * 
	 * @access public
	 */
	public static String _stream_base_url = "stream.datasift.net/";

	/**
	 * The username of this user.
{'fraction_non_alphanumeric': 0.10159651669085631, 'fraction_numerical': 0.004837929366231253, 'mean_word_length': 3.1442885771543088, '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': '1330982', 'n_tokens_mistral': 643, 'n_tokens_neox': 590, 'n_words': 249}