<commit_before>package kr.co.aroad.subscaleimagedrawview.drawviews;

import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.RectF;
import android.graphics.drawable.ColorDrawable;
import android.support.annotation.IdRes;
import android.support.annotation.NonNull;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Window;
import android.widget.EditText;
import android.widget.RadioGroup;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

import kr.co.aroad.subscaleimagedrawview.R;
import kr.co.aroad.subscaleimagedrawview.listener.ToolControllViewListener;
import kr.co.aroad.subscaleimagedrawview.util.DrawViewSetting;
import kr.co.aroad.subscaleimagedrawview.views.ImageDrawView;

/**
 * Created by hangilit on 2017. 7. 14..
 */

public class DrawViewText extends BaseDrawView {

    private Map<Integer, Integer> textSizeMap = new HashMap<>();
    private String content = "";
    private int textSizeKey = R.id.btn_freetext_size2;
    private Dialog dialog;

    public DrawViewText(@NonNull ImageDrawView imageDrawView) {
        super(DrawViewType.TEXT, imageDrawView);
<commit_msg>no message<commit_after>package kr.co.aroad.subscaleimagedrawview.drawviews;

import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.RectF;
import android.graphics.drawable.ColorDrawable;
import android.support.annotation.IdRes;
import android.support.annotation.NonNull;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Window;
import android.widget.EditText;
import android.widget.RadioGroup;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

import kr.co.aroad.subscaleimagedrawview.R;
import kr.co.aroad.subscaleimagedrawview.util.DrawViewSetting;
import kr.co.aroad.subscaleimagedrawview.views.ImageDrawView;

/**
 * Created by hangilit on 2017. 7. 14..
 */

public class DrawViewText extends BaseDrawView {

    private Map<Integer, Integer> textSizeMap = new HashMap<>();
    private String content = "";
    private int textSizeKey = R.id.btn_freetext_size2;
    private Dialog dialog;

    public DrawViewText(@NonNull ImageDrawView imageDrawView) {
        super(DrawViewType.TEXT, imageDrawView);

{'fraction_non_alphanumeric': 0.09673613841918993, 'fraction_numerical': 0.006291781360597719, 'mean_word_length': 5.539845758354756, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2684087', 'n_tokens_mistral': 772, 'n_tokens_neox': 753, 'n_words': 159}