Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ElisionFilter

    Removes elisions from a Lucene.Net.Analysis.TokenStream. For example, "l'avion" (the plane) will be tokenized as "avion" (plane).

    Elision in Wikipedia
    Inheritance
    object
    AttributeSource
    TokenStream
    TokenFilter
    ElisionFilter
    Implements
    IDisposable
    Inherited Members
    TokenFilter.End()
    TokenFilter.Reset()
    TokenStream.Dispose()
    AttributeSource.GetAttributeFactory()
    AttributeSource.GetAttributeClassesEnumerator()
    AttributeSource.GetAttributeImplsEnumerator()
    AttributeSource.AddAttributeImpl(Attribute)
    AttributeSource.AddAttribute<T>()
    AttributeSource.HasAttributes
    AttributeSource.HasAttribute<T>()
    AttributeSource.GetAttribute<T>()
    AttributeSource.ClearAttributes()
    AttributeSource.CaptureState()
    AttributeSource.RestoreState(AttributeSource.State)
    AttributeSource.GetHashCode()
    AttributeSource.Equals(object)
    AttributeSource.ReflectAsString(bool)
    AttributeSource.ReflectWith(IAttributeReflector)
    AttributeSource.CloneAttributes()
    AttributeSource.CopyTo(AttributeSource)
    AttributeSource.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Analysis.Util
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public sealed class ElisionFilter : TokenFilter, IDisposable

    Constructors

    ElisionFilter(TokenStream, CharArraySet)

    Constructs an elision filter with a CharArraySet of stop words

    Declaration
    public ElisionFilter(TokenStream input, CharArraySet articles)
    Parameters
    Type Name Description
    TokenStream input

    the source Lucene.Net.Analysis.TokenStream

    CharArraySet articles

    a set of stopword articles

    Methods

    IncrementToken()

    Increments the Lucene.Net.Analysis.TokenStream with a Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute without elisioned start

    Declaration
    public override sealed bool IncrementToken()
    Returns
    Type Description
    bool
    Overrides
    Lucene.Net.Analysis.TokenStream.IncrementToken()

    Implements

    IDisposable
    Back to top Copyright © 2024 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.