Package org.wltea.analyzer.seg

Examples of org.wltea.analyzer.seg.QuantifierSegmenter


  public static List<ISegmenter> loadSegmenter(){
    //初始化词典单例
    Dictionary.getInstance();
    List<ISegmenter> segmenters = new ArrayList<ISegmenter>(4);
    //处理数量词的子分词器
    segmenters.add(new QuantifierSegmenter());
    //处理中文词的子分词器
    segmenters.add(new CJKSegmenter());
    //处理字母的子分词器
    segmenters.add(new LetterSegmenter());
    return segmenters;
View Full Code Here


  public static List<ISegmenter> loadSegmenter(){
    //初始化词典单例
    Dictionary.getInstance();
    List<ISegmenter> segmenters = new ArrayList<ISegmenter>(4);
    //处理数量词的子分词器
    segmenters.add(new QuantifierSegmenter());
    //处理字母的子分词器
    segmenters.add(new LetterSegmenter());
    //处理中文词的子分词器
    segmenters.add(new CJKSegmenter());
    return segmenters;
View Full Code Here

TOP

Related Classes of org.wltea.analyzer.seg.QuantifierSegmenter

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.