@Override public void processModule(Module module) { if (module instanceof AnalysisModule) { AnalysisModule analysisModule = (AnalysisModule) module; analysisModule.addProcessor(new MMsegAnalysisBinderProcessor()); } }
public void onModule(AnalysisModule module) { module.addProcessor(new SmartChineseAnalysisBinderProcessor()); }
/** * Automatically called with the analysis module. * * @param module the analysis module */ public void onModule(AnalysisModule module) { if (settings.getAsBoolean("plugins.baseform.enabled", true)) { module.addProcessor(new BaseformAnalysisBinderProcessor()); } if (settings.getAsBoolean("plugins.concat.enabled", true)) { module.addProcessor(new ConcatAnalysisBinderProcessor()); } if (settings.getAsBoolean("plugins.decompound.enabled", true)) { module.addProcessor(new DecompoundAnalysisBinderProcessor()); } if (settings.getAsBoolean("plugins.decompound.fst.enabled", true)) { module.addProcessor(new FstDecompoundAnalysisBinderProcessor()); } if (settings.getAsBoolean("plugins.german.enabled", true)) { module.addProcessor(new GermanAnalysisBinderProcessor()); } if (settings.getAsBoolean("plugins.hyphen.enabled", true)) { module.addProcessor(new HyphenAnalysisBinderProcessor()); } if (settings.getAsBoolean("plugins.icu.enabled", true)) { module.addProcessor(new IcuAnalysisBinderProcessor()); } if (settings.getAsBoolean("plugins.sortform.enabled", true)) { module.addProcessor(new SortformAnalysisBinderProcessor()); } if (settings.getAsBoolean("plugins.standardnumber.enabled", true)) { module.addProcessor(new StandardnumberAnalysisBinderProcessor()); } if (settings.getAsBoolean("plugins.worddelimiter.enabled", true)) { module.addProcessor(new WorddelimiterAnalysisBinderProcessor()); } if (settings.getAsBoolean("plugins.year.enabled", true)) { module.addProcessor(new GregorianYearAnalysisBinderProcessor()); } if (settings.getAsBoolean("plugins.symbolname.enabled", true)) { module.addProcessor(new SymbolnameAnalysisBinderProcessor()); } }
public void onModule(AnalysisModule module) { module.addProcessor(new PinyinAbbrAnalysisBinderProcessor()); }
public void onModule(AnalysisModule module) { module.addProcessor(new URLTokenAnalysisBinderProcessor()); }