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

morfologik.stemming.IStemmer Maven / Gradle / Ivy

There is a newer version: 2.1.9
Show newest version
package morfologik.stemming;

import java.util.List;

/**
 * A generic "stemmer" interface in Morfologik.
 */
public interface IStemmer {
	/**
	 * Returns a list of {@link WordData} entries for a given word. The returned
	 * list is never null. Depending on the stemmer's
	 * implementation the {@link WordData} may carry the stem and additional
	 * information (tag) or just the stem.
	 * 

* The returned list and any object it contains are not usable after a * subsequent call to this method. Any data that should be stored in between * must be copied by the caller. * * @param word The word (typically inflected) to look up base forms for. * @return A list of {@link WordData} entries (possibly empty). */ public List lookup(CharSequence word); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy