Class DoubleMetaphoneFilter
Filter for DoubleMetaphone (supporting secondary codes)
Implements
IDisposable
Inherited Members
Namespace: Lucene.Net.Analysis.Phonetic
Assembly: Lucene.Net.Analysis.Phonetic.dll
Syntax
public sealed class DoubleMetaphoneFilter : TokenFilter, IDisposable
Constructors
| Improve this Doc View SourceDoubleMetaphoneFilter(TokenStream, Int32, Boolean)
Creates a DoubleMetaphoneFilter with the specified maximum code length,
and either adding encoded forms as synonyms (inject=true
) or
replacing them.
Declaration
public DoubleMetaphoneFilter(TokenStream input, int maxCodeLength, bool inject)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | input | |
System.Int32 | maxCodeLength | |
System.Boolean | inject |
Methods
| Improve this Doc View SourceIncrementToken()
Declaration
public override bool IncrementToken()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceReset()
Declaration
public override void Reset()
Overrides
Implements
IDisposable