import it.acubelab.tagme.config.TagmeConfig;
import it.acubelab.tagme.RelatednessMeasure;
import irproject.IRProjectExperiments;
     
public class Main {

    public static void main (String[] args) throws Exception {
        TagmeConfig.init("/home/irproject/config.xml");
        String groupName = "group3";
        String groupPw = "7dGHlSa";
        RelatednessMeasure rel = new Mean("en");
        IRProjectExperiments.dumpRelatednessExperiment(groupName, rel);
        // IRProjectExperiments.launchTagMeExperiment(groupName, groupPw, rel);
        // IRProjectExperiments.launchRelatednessExperiment(groupName, groupPw, rel);
    }

}


import it.acubelab.tagme.config.TagmeConfig;
import it.acubelab.tagme.RelatednessMeasure;
import irproject.IRProjectExperiments;
     
public class Main {

    public static void main (String[] args) throws Exception {
        TagmeConfig.init("/home/irproject/config.xml");
        String groupName = "group3";
        String groupPw = "7dGHlSa";
        RelatednessMeasure rel = new Probability("en");
        // IRProjectExperiments.dumpRelatednessExperiment(groupName, rel);
        IRProjectExperiments.launchTagMeExperiment(groupName, groupPw, rel);
        IRProjectExperiments.launchRelatednessExperiment(groupName, groupPw, rel);
    }

}


Add Main function for running Probability.