Fork me on GitHub
  • API

    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 "smartcn-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 "smartcn.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.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    System.Object
    AnalyzerProfile
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Analysis.Cn.Smart
    Assembly: Lucene.Net.Analysis.SmartCn.dll
    Syntax
    public static class AnalyzerProfile

    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 © 2022 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.