All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.project.ttc.models.index.WRLogMeasure Maven / Gradle / Ivy

Go to download

A Java UIMA-based toolbox for multilingual and efficient terminology extraction an multilingual term alignment

There is a newer version: 3.0.10
Show newest version
package eu.project.ttc.models.index;

import eu.project.ttc.models.Term;
import eu.project.ttc.models.TermIndex;

public class WRLogMeasure extends TermMeasure {
	
	public WRLogMeasure(TermIndex termIndex) {
		super(termIndex);
	}

	@Override
	public double getValue(Term term) {
		return Math.log10(1 + term.getFrequencyNorm() / term.getGeneralFrequencyNorm());
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy