package at.medunigraz.imi.abbres.model.mapper;

import java.util.Map;

import at.medunigraz.imi.abbres.model.matcher.Matcher;

public interface Mapper extends Comparable<Mapper> {

	/**
	 * Maps an abbreviation into possible candidates.
	 * 
	 * @param abbreviation
	 * @return
	 */
	public Map<String, Integer> map();

	/**
	 * Returns a list of candidates expansions and their frequency.
	 * 
	 * @return
	 */
	public Map<String, Integer> getCandidates();

	/**
	 * Returns the top entry in the mapper.
	 * 
	 * @return
	 */
	public Map.Entry<String, Integer> getBestEntry();

	@Deprecated
	public Matcher getMatcher();
	
	@Deprecated
	public String prefix();
}

@@ -572,29 +572,16 @@
 try();%0A%0A
-%09@Deprecated%0A
 %09public 

Revert deprecation of getMatcher