Module bus.extra

Class SmartcnProvider

java.lang.Object
org.miaixz.bus.extra.nlp.provider.analysis.AnalysisProvider
org.miaixz.bus.extra.nlp.provider.analysis.SmartcnProvider
All Implemented Interfaces:
Serializable, org.miaixz.bus.core.Provider, NLPProvider

public class SmartcnProvider extends AnalysisProvider
Lucene-smartcn word segmentation engine implementation. This class provides a concrete implementation of AnalysisProvider for the Lucene SmartChineseAnalyzer. Project homepage: https://github.com/apache/lucene-solr/tree/master/lucene/analysis/smartcn
Since:
Java 17+
Author:
Kimi Liu
See Also:
  • Constructor Details

    • SmartcnProvider

      public SmartcnProvider()
      Constructs a new SmartcnProvider instance. It initializes the provider with a new instance of SmartChineseAnalyzer.