<commit_before>package org.opencompare;

import java.io.*;
import java.net.URI;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collection;

import com.google.gson.stream.JsonReader;

import javax.xml.crypto.Data;


/**
 * Created by Quentin on 04/11/2015.
 */
public class Param {
    private Collection<DataStyle> dataStyleParam;
    private String orderType;
    private String orderColumn;
    private boolean showBottomNameFeatures;
    private boolean reversePCM;
    private boolean showPCMname;

    public Param(String json) {
        try {
            this.dataStyleParam = new ArrayList<DataStyle>();
            JsonReader reader = new JsonReader(new FileReader("pcms\\PCM1\\params1.json"));

            reader.beginObject();

            while (reader.hasNext()) {
                String paramname = reader.nextName();
                if (paramname.equals("orderType")) {<commit_msg>Edit Param path fileJSON<commit_after>package org.opencompare;

import java.io.*;
import java.net.URI;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collection;

import com.google.gson.stream.JsonReader;

import javax.xml.crypto.Data;


/**
 * Created by Quentin on 04/11/2015.
 */
public class Param {
    private Collection<DataStyle> dataStyleParam;
    private String orderType;
    private String orderColumn;
    private boolean showBottomNameFeatures;
    private boolean reversePCM;
    private boolean showPCMname;

    public Param(String json) {
        try {
            this.dataStyleParam = new ArrayList<DataStyle>();
            JsonReader reader = new JsonReader(new FileReader("pcms\\PCM1\\"+json));

            reader.beginObject();

            while (reader.hasNext()) {
                String paramname = reader.nextName();
                if (paramname.equals("orderType")) {
{'fraction_non_alphanumeric': 0.10359869138495092, 'fraction_numerical': 0.010359869138495093, 'mean_word_length': 2.946236559139785, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1446006', 'n_tokens_mistral': 517, 'n_tokens_neox': 497, 'n_words': 127}