Class OpenNLPChunkerFilter
Run OpenNLP chunker. Prerequisite: the OpenNLPTokenizer and OpenNLPPOSFilter must precede this filter. Tags terms in the TypeAttribute, replacing the POS tags previously put there by OpenNLPPOSFilter.
Implements
System.IDisposable
Inherited Members
Namespace: Lucene.Net.Analysis.OpenNlp
Assembly: Lucene.Net.Analysis.OpenNLP.dll
Syntax
public sealed class OpenNLPChunkerFilter : TokenFilter, IDisposable
Constructors
| Improve this Doc View SourceOpenNLPChunkerFilter(TokenStream, NLPChunkerOp)
Declaration
public OpenNLPChunkerFilter(TokenStream input, NLPChunkerOp chunkerOp)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | input | |
NLPChunkerOp | chunkerOp |
Methods
| Improve this Doc View SourceIncrementToken()
Declaration
public override sealed bool IncrementToken()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceReset()
Declaration
public override void Reset()
Overrides
Implements
System.IDisposable