Package org.apache.lucene.analysis.ja

Examples of org.apache.lucene.analysis.ja.JapanesePartOfSpeechStopFilterFactory


        ((ResourceLoaderAware) tokenizerFactory).inform(resourceLoader);
        //base form filter
        TokenFilterFactory baseFormFilterFactory =  new JapaneseBaseFormFilterFactory(BASE_FORM_FILTER_CONFIG);
        filterFactories.add(baseFormFilterFactory);
        //POS filter
        TokenFilterFactory posFilterFactory = new JapanesePartOfSpeechStopFilterFactory(POS_FILTER_CONFIG);
        ((ResourceLoaderAware) posFilterFactory).inform(resourceLoader);
        filterFactories.add(posFilterFactory);
        //Stemming
        TokenFilterFactory stemmFilterFactory = new JapaneseKatakanaStemFilterFactory(STEMM_FILTER_CONFIG);
        filterFactories.add(stemmFilterFactory);
View Full Code Here

TOP

Related Classes of org.apache.lucene.analysis.ja.JapanesePartOfSpeechStopFilterFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.