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

eu.monnetproject.nlp.stl.Decomposer Maven / Gradle / Ivy

Go to download

com.github.monnetproject.translation.decomposer OSGi Bundle from the Monnet Project's translation.project project.

The newest version!
package eu.monnetproject.nlp.stl;

import java.util.List;
import java.util.SortedSet;

/**
 * A decomposer to decompose terms
 *
 * @author Tobias Wunner
 */
public interface Decomposer {

  /**
   * Decomposes a term and returns a list of components as Strings
   * @param term
   * @return The decomposition or an empty list if no decomposition could be found
   */
    // Why do we need this? - JMc
  //public List decomposeBest(String term);

  /**
   * Decomposes a term and returns a map of decompositions with scores as keyset
   * @param term
   * @return The decompositions ranked by score
   */
  public SortedSet> decomposeRanked(String term);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy