Show / Hide Table of Contents

    Class ElisionFilter

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

    Elision in Wikipedia

    Inheritance
    System.Object
    AttributeSource
    TokenStream
    TokenFilter
    ElisionFilter
    Implements
    IDisposable
    Inherited Members
    TokenFilter.m_input
    TokenFilter.End()
    TokenFilter.Dispose(Boolean)
    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(Boolean)
    AttributeSource.ReflectWith(IAttributeReflector)
    AttributeSource.CloneAttributes()
    AttributeSource.CopyTo(AttributeSource)
    AttributeSource.ToString()
    Namespace: Lucene.Net.Analysis.Util
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public sealed class ElisionFilter : TokenFilter, IDisposable

    Constructors

    | Improve this Doc View Source

    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 TokenStream

    CharArraySet articles

    a set of stopword articles

    Methods

    | Improve this Doc View Source

    IncrementToken()

    Increments the TokenStream with a CharTermAttribute without elisioned start

    Declaration
    public override sealed bool IncrementToken()
    Returns
    Type Description
    System.Boolean
    Overrides
    TokenStream.IncrementToken()

    Implements

    IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)