Show / Hide Table of Contents

    Class AnalyzerProfile

    Manages analysis data configuration for SmartChineseAnalyzer

    SmartChineseAnalyzer has a built-in dictionary and stopword list out-of-box.

    NOTE: To use an alternate dicationary than the built-in one, put the "bigramdict.dct" and "coredict.dct" files in a subdirectory of your application named "analysis-data". This subdirectory can be placed in any directory up to and including the root directory (if the OS permission allows). To place the files in an alternate location, set an environment variable named "analysis.data.dir" with the name of the directory the "bigramdict.dct" and "coredict.dct" files can be located within.

    The default "bigramdict.dct" and "coredict.dct" files can be found at: https://issues.apache.org/jira/browse/LUCENE-1629.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    AnalyzerProfile
    Namespace: Lucene.Net.Analysis.Cn.Smart
    Assembly: Lucene.Net.Analysis.SmartCn.dll
    Syntax
    public class AnalyzerProfile : object

    Fields

    | Improve this Doc View Source

    ANALYSIS_DATA_DIR

    Global indicating the configured analysis data directory

    Declaration
    public static string ANALYSIS_DATA_DIR
    Field Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)