Package org.opensextant.solrtexttagger

Examples of org.opensextant.solrtexttagger.Tagger


        //     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
            protected void tagCallback(int startOffset, int endOffset, long docIdsKey) {
                long start = System.nanoTime();
                if(log.isTraceEnabled()){
View Full Code Here

TOP

Related Classes of org.opensextant.solrtexttagger.Tagger

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.