Package org.opensextant.solrtexttagger

Examples of org.opensextant.solrtexttagger.TagClusterReducer


            elConfig.getMinChunkMatchScore(), elConfig.getMinFoundTokens());
        //we use two TagClusterReducer implementations.
        // (1) the linkableTokenFilter filters all tags that do not overlap any
        //     linkable Token
        // (2) the LONGEST_DOMINANT_RIGHT reducer (TODO: make configurable)
        TagClusterReducer reducer = new ChainedTagClusterReducer(
            TagClusterReducer.LONGEST_DOMINANT_RIGHT, linkableTokenFilter);
        final long[] time = new long[]{0};
        new Tagger(corpus.getFst(), linkableTokenFilter, reducer,session.isSkipAltTokens()) {
           
            @Override
View Full Code Here

TOP

Related Classes of org.opensextant.solrtexttagger.TagClusterReducer

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.