<commit_before>package psidev.psi.mi.jami.utils.factory;

import psidev.psi.mi.jami.model.Alias;
import psidev.psi.mi.jami.model.impl.DefaultAlias;

/**
 * AliasFactory
 *
 * @author <NAME> (<EMAIL>)
 * @version $Id$
 * @since <pre>08/02/13</pre>
 */

public class AliasFactory {
    
    public Alias createGeneName(String name){
        return new DefaultAlias(CvTermFactory.createGeneNameAliasType(), name);
    }

    public Alias createComplexSynonym(String name){
        return new DefaultAlias(CvTermFactory.createComplexSynonym(), name);
    }

    public Alias createAuthorAssignedName(String name){
        return new DefaultAlias(CvTermFactory.createAuthorAssignedName(), name);
    }

    public Alias createGeneNameSynonym(String name){
        return new DefaultAlias(CvTermFactory.createGeneNameSynonym(), name);
    }

    public Alias createIsoformSynonym(String name){
        return new DefaultAlias(CvTermFactory.createIsoformSynonym(), name);
    }

    public Alias createOrfName(String name){
        return new DefaultAlias(CvTermFactory.createOrfName(), name);
    }

    public Alias createLocusName(String name){
        return new DefaultAlias(CvTermFactory.createLocusName(), name);
    }

    public Alias createAlias(String typeName, String typeMi, String name){
        return new DefaultAlias(CvTermFactory.createMICvTerm(typeName, typeMi), name);
    }

    public Alias createAlias(String typeName, String name){
        return new DefaultAlias(CvTermFactory.createMICvTerm(typeName, null), name);
    }
}<commit_msg>Made the methods of the alias factory static<commit_after>package psidev.psi.mi.jami.utils.factory;

import psidev.psi.mi.jami.model.Alias;
import psidev.psi.mi.jami.model.impl.DefaultAlias;

/**
 * AliasFactory
 *
 * @author <NAME> (<EMAIL>)
 * @version $Id$
 * @since <pre>08/02/13</pre>
 */

public class AliasFactory {
    
    public static Alias createGeneName(String name){
        return new DefaultAlias(CvTermFactory.createGeneNameAliasType(), name);
    }

    public static Alias createComplexSynonym(String name){
        return new DefaultAlias(CvTermFactory.createComplexSynonym(), name);
    }

    public static Alias createAuthorAssignedName(String name){
        return new DefaultAlias(CvTermFactory.createAuthorAssignedName(), name);
    }

    public static Alias createGeneNameSynonym(String name){
        return new DefaultAlias(CvTermFactory.createGeneNameSynonym(), name);
    }

    public static Alias createIsoformSynonym(String name){
        return new DefaultAlias(CvTermFactory.createIsoformSynonym(), name);
    }

    public static Alias createOrfName(String name){
        return new DefaultAlias(CvTermFactory.createOrfName(), name);
    }

    public static Alias createLocusName(String name){
        return new DefaultAlias(CvTermFactory.createLocusName(), name);
    }

    public static Alias createAlias(String typeName, String typeMi, String name){
        return new DefaultAlias(CvTermFactory.createMICvTerm(typeName, typeMi), name);
    }

    public static Alias createAlias(String typeName, String name){
        return new DefaultAlias(CvTermFactory.createMICvTerm(typeName, null), name);
    }
}
{'fraction_non_alphanumeric': 0.0975, 'fraction_numerical': 0.00375, 'mean_word_length': 4.025117739403454, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3834575', 'n_tokens_mistral': 992, 'n_tokens_neox': 937, 'n_words': 210}