Package edu.stanford.nlp.tagger.maxent

Examples of edu.stanford.nlp.tagger.maxent.TaggerConfig


    /**
     * Factory method for loading a POS tagger.
     */
    public static MaxentTagger makeTagger(String modelFile) throws Exception {
        TaggerConfig config = new TaggerConfig("-model", modelFile);
        // The final argument suppresses a "loading" message on stderr.
        return new MaxentTagger(modelFile, config, false);
    }
View Full Code Here

TOP

Related Classes of edu.stanford.nlp.tagger.maxent.TaggerConfig

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.