Package org.ictclas4j.bean

Examples of org.ictclas4j.bean.Thesaurus


//  }

  
  //����ͬ��ʿ�
  public static Thesaurus loadThesaurus(String fileName){
    Thesaurus thesaurus=null;
    if(fileName!=null){
      File file=new File(fileName);
      if(file.exists() && file.isFile()){
        logger.info("start load thesaurus ...");
        thesaurus = new Thesaurus( );
        thesaurus.load(fileName);
        logger.info("++ load thesaurus is over");
      }
    }
   
    return thesaurus;
View Full Code Here

TOP

Related Classes of org.ictclas4j.bean.Thesaurus

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.