Lucene.Net.Analysis.Hy refactor: member accessibility and documentation comments
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/a4828b1a Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/a4828b1a Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/a4828b1a Branch: refs/heads/api-work Commit: a4828b1ad1814da6c75daf8335df4ee103d8941b Parents: da08b94 Author: Shad Storhaug <[email protected]> Authored: Fri Feb 3 16:29:09 2017 +0700 Committer: Shad Storhaug <[email protected]> Committed: Fri Feb 3 16:29:09 2017 +0700 ---------------------------------------------------------------------- .../Analysis/Hy/ArmenianAnalyzer.cs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a4828b1a/src/Lucene.Net.Analysis.Common/Analysis/Hy/ArmenianAnalyzer.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Hy/ArmenianAnalyzer.cs b/src/Lucene.Net.Analysis.Common/Analysis/Hy/ArmenianAnalyzer.cs index bec70b7..f6a5cdc 100644 --- a/src/Lucene.Net.Analysis.Common/Analysis/Hy/ArmenianAnalyzer.cs +++ b/src/Lucene.Net.Analysis.Common/Analysis/Hy/ArmenianAnalyzer.cs @@ -50,7 +50,7 @@ namespace Lucene.Net.Analysis.Hy } /// <summary> - /// Atomically loads the DEFAULT_STOP_SET in a lazy fashion once the outer class + /// Atomically loads the <see cref="DEFAULT_STOP_SET"/> in a lazy fashion once the outer class /// accesses the static final set the first time.; /// </summary> private class DefaultSetHolder @@ -74,10 +74,11 @@ namespace Lucene.Net.Analysis.Hy } /// <summary> - /// Builds an analyzer with the default stop words: <see cref="#DEFAULT_STOPWORD_FILE"/>. + /// Builds an analyzer with the default stop words: <see cref="DEFAULT_STOPWORD_FILE"/>. /// </summary> + /// <param name="matchVersion"> lucene compatibility version </param> public ArmenianAnalyzer(LuceneVersion matchVersion) - : this(matchVersion, DefaultSetHolder.DEFAULT_STOP_SET) + : this(matchVersion, DefaultSetHolder.DEFAULT_STOP_SET) { } @@ -87,7 +88,7 @@ namespace Lucene.Net.Analysis.Hy /// <param name="matchVersion"> lucene compatibility version </param> /// <param name="stopwords"> a stopword set </param> public ArmenianAnalyzer(LuceneVersion matchVersion, CharArraySet stopwords) - : this(matchVersion, stopwords, CharArraySet.EMPTY_SET) + : this(matchVersion, stopwords, CharArraySet.EMPTY_SET) { } @@ -100,7 +101,7 @@ namespace Lucene.Net.Analysis.Hy /// <param name="stopwords"> a stopword set </param> /// <param name="stemExclusionSet"> a set of terms not to be stemmed </param> public ArmenianAnalyzer(LuceneVersion matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet) - : base(matchVersion, stopwords) + : base(matchVersion, stopwords) { this.stemExclusionSet = CharArraySet.UnmodifiableSet(CharArraySet.Copy(matchVersion, stemExclusionSet)); } @@ -108,13 +109,13 @@ namespace Lucene.Net.Analysis.Hy /// <summary> /// Creates a /// <see cref="Analyzer.TokenStreamComponents"/> - /// which tokenizes all the text in the provided <see cref="Reader"/>. + /// which tokenizes all the text in the provided <see cref="TextReader"/>. /// </summary> /// <returns> A /// <see cref="Analyzer.TokenStreamComponents"/> /// built from an <see cref="StandardTokenizer"/> filtered with - /// <see cref="StandardFilter"/>, <see cref="LowerCaseFilter"/>, <see cref="StopFilter"/> - /// , <see cref="SetKeywordMarkerFilter"/> if a stem exclusion set is + /// <see cref="StandardFilter"/>, <see cref="LowerCaseFilter"/>, <see cref="StopFilter"/>, + /// <see cref="SetKeywordMarkerFilter"/> if a stem exclusion set is /// provided and <see cref="SnowballFilter"/>. </returns> protected override TokenStreamComponents CreateComponents(string fieldName, TextReader reader) {
