All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ord.1.3.source-code.logback.xml Maven / Gradle / Ivy

Go to download

word分词是一个Java实现的中文分词组件,提供了多种基于词典的分词算法,并利用ngram模型来消除歧义。 能准确识别英文、数字,以及日期、时间等数量词,能识别人名、地名、组织机构名等未登录词。 同时提供了Lucene、Solr、ElasticSearch插件。

There is a newer version: 1.3.1
Show newest version
<?xml version="1.0" encoding="UTF-8"?>

<configuration>
  <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
    <layout class="ch.qos.logback.classic.PatternLayout">
      <Pattern>%m%n</Pattern>
    </layout>
  </appender>
  <appender name="logfile" class="ch.qos.logback.core.rolling.RollingFileAppender">
    <File>logs/logback.log</File>
    <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">  
      <FileNamePattern>logs/logback_%i.log</FileNamePattern>
      <MinIndex>1</MinIndex>  
      <MaxIndex>10000</MaxIndex>
    </rollingPolicy>  
    <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">  
      <MaxFileSize>5MB</MaxFileSize> 
    </triggeringPolicy> 
    <layout class="ch.qos.logback.classic.PatternLayout">
      <Pattern>%m%n</Pattern>
    </layout>
  </appender>
  <logger name="org.apdplat.word.analysis" level="INFO"/>
  <root level="INFO">
    <appender-ref ref="logfile"/>
    <appender-ref ref="stdout"/>
  </root>
</configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy