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

com.intersystems.iknow.languagemodel.slavic.MorphologicalAnalyzer Maven / Gradle / Ivy

The newest version!
/*-
 * $Id: 3c270ad46e59bc4a915eeff3acfb0be34822246a $
 */
package com.intersystems.iknow.languagemodel.slavic;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Map;
import java.util.Set;

/**
 * Common superinterface for all stemming engines.
 *
 * @author Andrey Shcheglov (mailto:[email protected])
 */
public interface MorphologicalAnalyzer extends Remote {
	/**
	 * Returns a map of tokens (i. e words) and
	 * (possibly, multiple) analyzes corresponding to each token. If
	 * a particular token can't be found in the dictionary, an empty
	 * set will be mapped to this token.
	 *
	 * @param text a single word or a word sequence (i. e. a sentence)
	 * @return a map of tokens and analyzes
	 *         corresponding to each token.
	 * @throws AnalysisException
	 * @throws RemoteException
	 */
	Map> analyze(final String text)
	throws AnalysisException, RemoteException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy