1 package net.sf.jhunlang.jmorph.analysis.consumer; 2 3 import java.util.Collection; 4 5 import net.sf.jhunlang.jmorph.DictEntry; 6 7 public interface AnalysisConsumer 8 { 9 boolean continueStemming(String word, DictEntry entry); 10 boolean done(); 11 12 void setStems(Collection stems); 13 Collection getStems(); 14 boolean hasSuffixFlag(int flag); 15 boolean ignoreCase(); 16 AnalysisConsumer getParent(); 17 AnalysisConsumer setParentConsumer(AnalysisConsumer consumer); 18 void freezeLevel(int level); 19 void thawLevel(); 20 }