You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/02/02 14:54:59 UTC

[4/6] lucenenet git commit: Lucene.Net.Analysis.Ca refactor: member accessibility and documentation comments

Lucene.Net.Analysis.Ca 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/5d0d43f4
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/5d0d43f4
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/5d0d43f4

Branch: refs/heads/api-work
Commit: 5d0d43f4034186c2f893d2e60475c1bbcee8998e
Parents: 83902e9
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Thu Feb 2 20:39:49 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Thu Feb 2 20:39:49 2017 +0700

----------------------------------------------------------------------
 .../Analysis/Ca/CatalanAnalyzer.cs              | 33 +++++++++-----------
 1 file changed, 15 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/5d0d43f4/src/Lucene.Net.Analysis.Common/Analysis/Ca/CatalanAnalyzer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Ca/CatalanAnalyzer.cs b/src/Lucene.Net.Analysis.Common/Analysis/Ca/CatalanAnalyzer.cs
index b65b920..704f543 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Ca/CatalanAnalyzer.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Ca/CatalanAnalyzer.cs
@@ -29,16 +29,13 @@ namespace Lucene.Net.Analysis.Ca
 	 */
 
     /// <summary>
-    /// <seealso cref="Analyzer"/> for Catalan.
-    /// <para>
-    /// <a name="version"/>
-    /// </para>
-    /// <para>You must specify the required <seealso cref="Version"/>
+    /// <see cref="Analyzer"/> for Catalan.
+    /// <para>You must specify the required <see cref="LuceneVersion"/>
     /// compatibility when creating CatalanAnalyzer:
-    /// <ul>
-    ///   <li> As of 3.6, ElisionFilter with a set of Catalan 
-    ///        contractions is used by default.
-    /// </ul>
+    /// <list>
+    ///   <item> As of 3.6, <see cref="ElisionFilter"/> with a set of Catalan 
+    ///        contractions is used by default.</item>
+    /// </list>
     /// </para>
     /// </summary>
     public sealed class CatalanAnalyzer : StopwordAnalyzerBase
@@ -66,7 +63,7 @@ namespace Lucene.Net.Analysis.Ca
         }
 
         /// <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
@@ -90,7 +87,7 @@ namespace Lucene.Net.Analysis.Ca
         }
 
         /// <summary>
-        /// Builds an analyzer with the default stop words: <seealso cref="#DEFAULT_STOPWORD_FILE"/>.
+        /// Builds an analyzer with the default stop words: <see cref="DEFAULT_STOPWORD_FILE"/>.
         /// </summary>
         public CatalanAnalyzer(LuceneVersion matchVersion)
               : this(matchVersion, DefaultSetHolder.DEFAULT_STOP_SET)
@@ -109,7 +106,7 @@ namespace Lucene.Net.Analysis.Ca
 
         /// <summary>
         /// Builds an analyzer with the given stop words. If a non-empty stem exclusion set is
-        /// provided this analyzer will add a <seealso cref="SetKeywordMarkerFilter"/> before
+        /// provided this analyzer will add a <see cref="SetKeywordMarkerFilter"/> before
         /// stemming.
         /// </summary>
         /// <param name="matchVersion"> lucene compatibility version </param>
@@ -123,15 +120,15 @@ namespace Lucene.Net.Analysis.Ca
 
         /// <summary>
         /// Creates a
-        /// <seealso cref="org.apache.lucene.analysis.Analyzer.TokenStreamComponents"/>
-        /// which tokenizes all the text in the provided <seealso cref="Reader"/>.
+        /// <see cref="Analyzer.TokenStreamComponents"/>
+        /// which tokenizes all the text in the provided <see cref="TextReader"/>.
         /// </summary>
         /// <returns> A
-        ///         <seealso cref="org.apache.lucene.analysis.Analyzer.TokenStreamComponents"/>
+        ///         <see cref="Analyzer.TokenStreamComponents"/>
         ///         built from an <seealso cref="StandardTokenizer"/> filtered with
-        ///         <seealso cref="StandardFilter"/>, <seealso cref="ElisionFilter"/>, <seealso cref="LowerCaseFilter"/>, 
-        ///         <seealso cref="StopFilter"/>, <seealso cref="SetKeywordMarkerFilter"/> if a stem exclusion set is
-        ///         provided and <seealso cref="SnowballFilter"/>. </returns>
+        ///         <see cref="StandardFilter"/>, <see cref="ElisionFilter"/>, <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)
         {
             Tokenizer source = new StandardTokenizer(m_matchVersion, reader);