<commit_before>/*
 * Copyright (c) 2015. <NAME>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.project.openbaton.plugin.vim.drivers.test;

import org.project.openbaton.plugin.PluginStarter;

import java.io.IOException;
import java.util.Properties;

/**
 * Created by lto on 10/09/15.
 */
public class Starter {
    public static void main(String[] args) {
        Properties properties = new Properties();
        try {
            properties.load(Starter.class.getResourceAsStream("/plugin.conf.properties"));
        } catch (IOException e) {
            e.printStackTrace();
            System.exit(1);
        }
        PluginStarter.run(TestClient.class, "test-plugin", properties.getProperty("registry-ip", "localhost"));
    }
}<commit_msg>new Starter for test plugin<commit_after>/*
 * Copyright (c) 2015. <NAME>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.project.openbaton.plugin.vim.drivers.test;

import org.project.openbaton.plugin.PluginStarter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by lto on 10/09/15.
 */
public class Starter {

    private static Logger log = LoggerFactory.getLogger(PluginStarter.class);

    public static void main(String[] args) {
        log.info("params are: pluginName registryIp registryPort\ndefault is test localhost 1099");

        if (args.length > 1)
            PluginStarter.run(TestClient.class, args[0] ,args[1], Integer.parseInt(args[2]));
        else
            PluginStarter.run(TestClient.class, "test", "localhost");
    }
}
{'fraction_non_alphanumeric': 0.10186625194401244, 'fraction_numerical': 0.015163297045101089, 'mean_word_length': 3.4285714285714284, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '377326', 'n_tokens_mistral': 731, 'n_tokens_neox': 698, 'n_words': 252}