Class SentenceTokenizer
Tokenizes input text into sentences.
The output tokens can then be broken into words with WordTokenFilter
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Implements
IDisposable
Inherited Members
Namespace: Lucene.Net.Analysis.Cn.Smart
Assembly: Lucene.Net.Analysis.SmartCn.dll
Syntax
public sealed class SentenceTokenizer : Tokenizer, IDisposable
Constructors
| Improve this Doc View SourceSentenceTokenizer(AttributeSource.AttributeFactory, TextReader)
Declaration
public SentenceTokenizer(AttributeSource.AttributeFactory factory, TextReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| AttributeSource.AttributeFactory | factory | |
| TextReader | reader |
SentenceTokenizer(TextReader)
Declaration
public SentenceTokenizer(TextReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| TextReader | reader |
Methods
| Improve this Doc View SourceEnd()
Declaration
public override void End()
Overrides
| 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