<commit_before>/*
 * Copyright (c) 2018 NECTEC
 *   National Electronics and Computer Technology Center, Thailand
 *
 * 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 ffc.api

import com.google.gson.Gson
import ffc.entity.gson.ffcGson
import okhttp3.Cache
import okhttp3.OkHttpClient
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import java.util.concurrent.TimeUnit.SECONDS

var url_ploy = "https://ffc-test.herokuapp.com/v0/"
var url_max = "https://ffc-nectec.herokuapp.com/v0/"
var url_puy = "https://ffc-api-test.herokuapp.com/v0/"
var url_beta = "https://ffc-beta.herokuapp.com/v0/"

class FfcCentral(val url: String = url_beta, val gson: Gson = ffcGson) {

    val retrofitBuilder = Retrofit.Builder().baseUrl(url)!!
<commit_msg>Add url "maekawtom"<commit_after>/*
 * Copyright (c) 2018 NECTEC
 *   National Electronics and Computer Technology Center, Thailand
 *
 * 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 ffc.api

import com.google.gson.Gson
import ffc.entity.gson.ffcGson
import okhttp3.Cache
import okhttp3.OkHttpClient
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import java.util.concurrent.TimeUnit.SECONDS

var url_ploy = "https://ffc-test.herokuapp.com/v0/"
var url_max = "https://ffc-nectec.herokuapp.com/v0/"
var url_puy = "https://ffc-api-test.herokuapp.com/v0/"
var url_beta = "https://ffc-beta.herokuapp.com/v0/"
var url_maekawtom ="https://ffcmaekawtom.herokuapp.com/v0/"

class FfcCentral(val url: String = url_beta, val gson: Gson = ffcGson) {

    val retrofitBuilder = Retrofit.Builder().baseUrl(url)!!

{'fraction_non_alphanumeric': 0.10091047040971168, 'fraction_numerical': 0.01251896813353566, 'mean_word_length': 4.274, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 9, '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': '2388780', 'n_tokens_mistral': 850, 'n_tokens_neox': 831, 'n_words': 265}