Initializes a new instance of the StandardAnalyzer class

Namespace: Lucene.Net.Analysis.Standard
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[ObsoleteAttribute("Remove in 3.X and make true the only valid value")]
public StandardAnalyzer(
	TextReader stopwords,
	bool replaceInvalidAcronym
)
Visual Basic
<ObsoleteAttribute("Remove in 3.X and make true the only valid value")> _
Public Sub New ( _
	stopwords As TextReader, _
	replaceInvalidAcronym As Boolean _
)
Visual C++
[ObsoleteAttribute(L"Remove in 3.X and make true the only valid value")]
public:
StandardAnalyzer(
	TextReader^ stopwords, 
	bool replaceInvalidAcronym
)

Parameters

stopwords
Type: System.IO..::..TextReader
The stopwords to use
replaceInvalidAcronym
Type: System..::..Boolean
Set to true if this analyzer should replace mischaracterized acronyms in the StandardTokenizer See https://issues.apache.org/jira/browse/LUCENE-1068

See Also