<commit_before>package uk.ac.ebi.quickgo.annotation.service.comm.rest.ontology.transformer.completablevalue;

import uk.ac.ebi.quickgo.annotation.service.comm.rest.ontology.model.BasicOntology;
import uk.ac.ebi.quickgo.common.model.CompletableValue;
import uk.ac.ebi.quickgo.rest.search.request.FilterRequest;
import uk.ac.ebi.quickgo.rest.search.request.converter.ConvertedFilter;
import uk.ac.ebi.quickgo.rest.search.results.transformer.AbstractValueInjector;

import java.util.List;

/**
 * This class is responsible for supplementing an {@link CompletableValue} instance, which contains
 * a gene ontology identifier (in the key field), with a gene ontology name, through the use of a RESTful service.
 *
 * Created 04/10/17
 * @author <NAME>
 */
public class OntologyNameInjector extends AbstractValueInjector<BasicOntology, CompletableValue> {

    public static final String GO_ID = "goId";
    static final String GO_NAME = "goName";

    @Override
    public String getId() {<commit_msg>Move package for CompletableValue.<commit_after>package uk.ac.ebi.quickgo.annotation.service.comm.rest.ontology.transformer.completablevalue;

import uk.ac.ebi.quickgo.annotation.service.comm.rest.ontology.model.BasicOntology;
import uk.ac.ebi.quickgo.rest.model.CompletableValue;
import uk.ac.ebi.quickgo.rest.search.request.FilterRequest;
import uk.ac.ebi.quickgo.rest.search.request.converter.ConvertedFilter;
import uk.ac.ebi.quickgo.rest.search.results.transformer.AbstractValueInjector;

import java.util.List;

/**
 * This class is responsible for supplementing an {@link CompletableValue} instance, which contains
 * a gene ontology identifier (in the key field), with a gene ontology name, through the use of a RESTful service.
 *
 * Created 04/10/17
 * @author <NAME>
 */
public class OntologyNameInjector extends AbstractValueInjector<BasicOntology, CompletableValue> {

    public static final String GO_ID = "goId";
    static final String GO_NAME = "goName";

    @Override
    public String getId() {
{'fraction_non_alphanumeric': 0.1009448035803083, 'fraction_numerical': 0.005967180507210343, 'mean_word_length': 5.042042042042042, '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': '4633787', 'n_tokens_mistral': 635, 'n_tokens_neox': 620, 'n_words': 145}