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

com.asher_stern.crf.crf.run.CrfFeatureGeneratorFactory Maven / Gradle / Ivy

Go to download

Implementation of linear-chain Conditional Random Fields (CRF) in pure Java

There is a newer version: 1.2.0
Show newest version
package com.asher_stern.crf.crf.run;

import java.util.List;
import java.util.Set;

import com.asher_stern.crf.utilities.TaggedToken;

/**
 * A factory which creates a {@link CrfFeatureGenerator}.
 * 
 * @author Asher Stern
 * Date: November 2014
 *
 */
public interface CrfFeatureGeneratorFactory
{
	/**
	 * Create the {@link CrfFeatureGenerator}.
	 * @param corpus
	 * @param tags
	 * @return
	 */
	public CrfFeatureGenerator create(Iterable >> corpus, Set tags);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy