lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [18/39] lucenenet git commit: Lucene.Net.Analysis.Common/Tartarus refactor: member accessibility and documentation comments
Date Sat, 04 Feb 2017 20:32:37 GMT
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4abfb341/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/RussianStemmer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/RussianStemmer.cs b/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/RussianStemmer.cs
index 75ef579..9ad695c 100644
--- a/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/RussianStemmer.cs
+++ b/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/RussianStemmer.cs
@@ -174,7 +174,7 @@
         {
             I_p2 = other.I_p2;
             I_pV = other.I_pV;
-            base.copy_from(other);
+            base.CopyFrom(other);
         }
 
         private bool r_mark_regions()
@@ -193,7 +193,7 @@
                 {
                     do
                     {
-                        if (!(in_grouping(g_v, 1072, 1103)))
+                        if (!(InGrouping(g_v, 1072, 1103)))
                         {
                             goto lab2;
                         }
@@ -214,7 +214,7 @@
                 {
                     do
                     {
-                        if (!(out_grouping(g_v, 1072, 1103)))
+                        if (!(OutGrouping(g_v, 1072, 1103)))
                         {
                             goto lab4;
                         }
@@ -233,7 +233,7 @@
                 {
                     do
                     {
-                        if (!(in_grouping(g_v, 1072, 1103)))
+                        if (!(InGrouping(g_v, 1072, 1103)))
                         {
                             goto lab6;
                         }
@@ -252,7 +252,7 @@
                 {
                     do
                     {
-                        if (!(out_grouping(g_v, 1072, 1103)))
+                        if (!(OutGrouping(g_v, 1072, 1103)))
                         {
                             goto lab8;
                         }
@@ -291,7 +291,7 @@
             // [, line 72
             m_ket = m_cursor;
             // substring, line 72
-            among_var = find_among_b(a_0, 9);
+            among_var = FindAmongB(a_0, 9);
             if (among_var == 0)
             {
                 return false;
@@ -311,7 +311,7 @@
                         do
                         {
                             // literal, line 76
-                            if (!(eq_s_b(1, "\u0430")))
+                            if (!(Eq_S_B(1, "\u0430")))
                             {
                                 goto lab1;
                             }
@@ -320,19 +320,19 @@
                         lab1:
                         m_cursor = m_limit - v_1;
                         // literal, line 76
-                        if (!(eq_s_b(1, "\u044F")))
+                        if (!(Eq_S_B(1, "\u044F")))
                         {
                             return false;
                         }
                     } while (false);
                     lab0:
                     // delete, line 76
-                    slice_del();
+                    SliceDel();
                     break;
                 case 2:
                     // (, line 83
                     // delete, line 83
-                    slice_del();
+                    SliceDel();
                     break;
             }
             return true;
@@ -345,7 +345,7 @@
             // [, line 88
             m_ket = m_cursor;
             // substring, line 88
-            among_var = find_among_b(a_1, 26);
+            among_var = FindAmongB(a_1, 26);
             if (among_var == 0)
             {
                 return false;
@@ -359,7 +359,7 @@
                 case 1:
                     // (, line 97
                     // delete, line 97
-                    slice_del();
+                    SliceDel();
                     break;
             }
             return true;
@@ -384,7 +384,7 @@
                 // [, line 110
                 m_ket = m_cursor;
                 // substring, line 110
-                among_var = find_among_b(a_2, 8);
+                among_var = FindAmongB(a_2, 8);
                 if (among_var == 0)
                 {
                     m_cursor = m_limit - v_1;
@@ -406,7 +406,7 @@
                             do
                             {
                                 // literal, line 115
-                                if (!(eq_s_b(1, "\u0430")))
+                                if (!(Eq_S_B(1, "\u0430")))
                                 {
                                     goto lab2;
                                 }
@@ -415,7 +415,7 @@
                             lab2:
                             m_cursor = m_limit - v_2;
                             // literal, line 115
-                            if (!(eq_s_b(1, "\u044F")))
+                            if (!(Eq_S_B(1, "\u044F")))
                             {
                                 m_cursor = m_limit - v_1;
                                 goto lab0;
@@ -423,12 +423,12 @@
                         } while (false);
                         lab1:
                         // delete, line 115
-                        slice_del();
+                        SliceDel();
                         break;
                     case 2:
                         // (, line 122
                         // delete, line 122
-                        slice_del();
+                        SliceDel();
                         break;
                 }
             } while (false);
@@ -443,7 +443,7 @@
             // [, line 129
             m_ket = m_cursor;
             // substring, line 129
-            among_var = find_among_b(a_3, 2);
+            among_var = FindAmongB(a_3, 2);
             if (among_var == 0)
             {
                 return false;
@@ -457,7 +457,7 @@
                 case 1:
                     // (, line 132
                     // delete, line 132
-                    slice_del();
+                    SliceDel();
                     break;
             }
             return true;
@@ -471,7 +471,7 @@
             // [, line 137
             m_ket = m_cursor;
             // substring, line 137
-            among_var = find_among_b(a_4, 46);
+            among_var = FindAmongB(a_4, 46);
             if (among_var == 0)
             {
                 return false;
@@ -491,7 +491,7 @@
                         do
                         {
                             // literal, line 143
-                            if (!(eq_s_b(1, "\u0430")))
+                            if (!(Eq_S_B(1, "\u0430")))
                             {
                                 goto lab1;
                             }
@@ -500,19 +500,19 @@
                         lab1:
                         m_cursor = m_limit - v_1;
                         // literal, line 143
-                        if (!(eq_s_b(1, "\u044F")))
+                        if (!(Eq_S_B(1, "\u044F")))
                         {
                             return false;
                         }
                     } while (false);
                     lab0:
                     // delete, line 143
-                    slice_del();
+                    SliceDel();
                     break;
                 case 2:
                     // (, line 151
                     // delete, line 151
-                    slice_del();
+                    SliceDel();
                     break;
             }
             return true;
@@ -525,7 +525,7 @@
             // [, line 160
             m_ket = m_cursor;
             // substring, line 160
-            among_var = find_among_b(a_5, 36);
+            among_var = FindAmongB(a_5, 36);
             if (among_var == 0)
             {
                 return false;
@@ -539,7 +539,7 @@
                 case 1:
                     // (, line 167
                     // delete, line 167
-                    slice_del();
+                    SliceDel();
                     break;
             }
             return true;
@@ -552,7 +552,7 @@
             // [, line 176
             m_ket = m_cursor;
             // substring, line 176
-            among_var = find_among_b(a_6, 2);
+            among_var = FindAmongB(a_6, 2);
             if (among_var == 0)
             {
                 return false;
@@ -571,7 +571,7 @@
                 case 1:
                     // (, line 179
                     // delete, line 179
-                    slice_del();
+                    SliceDel();
                     break;
             }
             return true;
@@ -584,7 +584,7 @@
             // [, line 184
             m_ket = m_cursor;
             // substring, line 184
-            among_var = find_among_b(a_7, 4);
+            among_var = FindAmongB(a_7, 4);
             if (among_var == 0)
             {
                 return false;
@@ -598,38 +598,38 @@
                 case 1:
                     // (, line 188
                     // delete, line 188
-                    slice_del();
+                    SliceDel();
                     // [, line 189
                     m_ket = m_cursor;
                     // literal, line 189
-                    if (!(eq_s_b(1, "\u043D")))
+                    if (!(Eq_S_B(1, "\u043D")))
                     {
                         return false;
                     }
                     // ], line 189
                     m_bra = m_cursor;
                     // literal, line 189
-                    if (!(eq_s_b(1, "\u043D")))
+                    if (!(Eq_S_B(1, "\u043D")))
                     {
                         return false;
                     }
                     // delete, line 189
-                    slice_del();
+                    SliceDel();
                     break;
                 case 2:
                     // (, line 192
                     // literal, line 192
-                    if (!(eq_s_b(1, "\u043D")))
+                    if (!(Eq_S_B(1, "\u043D")))
                     {
                         return false;
                     }
                     // delete, line 192
-                    slice_del();
+                    SliceDel();
                     break;
                 case 3:
                     // (, line 194
                     // delete, line 194
-                    slice_del();
+                    SliceDel();
                     break;
             }
             return true;
@@ -754,7 +754,7 @@
                 // [, line 209
                 m_ket = m_cursor;
                 // literal, line 209
-                if (!(eq_s_b(1, "\u0438")))
+                if (!(Eq_S_B(1, "\u0438")))
                 {
                     m_cursor = m_limit - v_8;
                     goto lab8;
@@ -762,7 +762,7 @@
                 // ], line 209
                 m_bra = m_cursor;
                 // delete, line 209
-                slice_del();
+                SliceDel();
             } while (false);
             lab8:
             // do, line 212

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4abfb341/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/SpanishStemmer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/SpanishStemmer.cs b/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/SpanishStemmer.cs
index 7cdd686..bc825a4 100644
--- a/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/SpanishStemmer.cs
+++ b/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/SpanishStemmer.cs
@@ -251,7 +251,7 @@
             I_p2 = other.I_p2;
             I_p1 = other.I_p1;
             I_pV = other.I_pV;
-            base.copy_from(other);
+            base.CopyFrom(other);
         }
 
         private bool r_mark_regions()
@@ -277,7 +277,7 @@
                     do
                     {
                         // (, line 38
-                        if (!(in_grouping(g_v, 97, 252)))
+                        if (!(InGrouping(g_v, 97, 252)))
                         {
                             goto lab2;
                         }
@@ -288,7 +288,7 @@
                             do
                             {
                                 // (, line 38
-                                if (!(out_grouping(g_v, 97, 252)))
+                                if (!(OutGrouping(g_v, 97, 252)))
                                 {
                                     goto lab4;
                                 }
@@ -297,7 +297,7 @@
                                 {
                                     do
                                     {
-                                        if (!(in_grouping(g_v, 97, 252)))
+                                        if (!(InGrouping(g_v, 97, 252)))
                                         {
                                             goto lab6;
                                         }
@@ -316,7 +316,7 @@
                             lab4:
                             m_cursor = v_3;
                             // (, line 38
-                            if (!(in_grouping(g_v, 97, 252)))
+                            if (!(InGrouping(g_v, 97, 252)))
                             {
                                 goto lab2;
                             }
@@ -325,7 +325,7 @@
                             {
                                 do
                                 {
-                                    if (!(out_grouping(g_v, 97, 252)))
+                                    if (!(OutGrouping(g_v, 97, 252)))
                                     {
                                         goto lab8;
                                     }
@@ -346,7 +346,7 @@
                     lab2:
                     m_cursor = v_2;
                     // (, line 40
-                    if (!(out_grouping(g_v, 97, 252)))
+                    if (!(OutGrouping(g_v, 97, 252)))
                     {
                         goto lab0;
                     }
@@ -357,7 +357,7 @@
                         do
                         {
                             // (, line 40
-                            if (!(out_grouping(g_v, 97, 252)))
+                            if (!(OutGrouping(g_v, 97, 252)))
                             {
                                 goto lab10;
                             }
@@ -366,7 +366,7 @@
                             {
                                 do
                                 {
-                                    if (!(in_grouping(g_v, 97, 252)))
+                                    if (!(InGrouping(g_v, 97, 252)))
                                     {
                                         goto lab12;
                                     }
@@ -385,7 +385,7 @@
                         lab10:
                         m_cursor = v_6;
                         // (, line 40
-                        if (!(in_grouping(g_v, 97, 252)))
+                        if (!(InGrouping(g_v, 97, 252)))
                         {
                             goto lab0;
                         }
@@ -414,7 +414,7 @@
                 {
                     do
                     {
-                        if (!(in_grouping(g_v, 97, 252)))
+                        if (!(InGrouping(g_v, 97, 252)))
                         {
                             goto lab15;
                         }
@@ -433,7 +433,7 @@
                 {
                     do
                     {
-                        if (!(out_grouping(g_v, 97, 252)))
+                        if (!(OutGrouping(g_v, 97, 252)))
                         {
                             goto lab17;
                         }
@@ -454,7 +454,7 @@
                 {
                     do
                     {
-                        if (!(in_grouping(g_v, 97, 252)))
+                        if (!(InGrouping(g_v, 97, 252)))
                         {
                             goto lab19;
                         }
@@ -473,7 +473,7 @@
                 {
                     do
                     {
-                        if (!(out_grouping(g_v, 97, 252)))
+                        if (!(OutGrouping(g_v, 97, 252)))
                         {
                             goto lab21;
                         }
@@ -509,7 +509,7 @@
                     // [, line 50
                     m_bra = m_cursor;
                     // substring, line 50
-                    among_var = find_among(a_0, 6);
+                    among_var = FindAmong(a_0, 6);
                     if (among_var == 0)
                     {
                         goto lab1;
@@ -523,27 +523,27 @@
                         case 1:
                             // (, line 51
                             // <-, line 51
-                            slice_from("a");
+                            SliceFrom("a");
                             break;
                         case 2:
                             // (, line 52
                             // <-, line 52
-                            slice_from("e");
+                            SliceFrom("e");
                             break;
                         case 3:
                             // (, line 53
                             // <-, line 53
-                            slice_from("i");
+                            SliceFrom("i");
                             break;
                         case 4:
                             // (, line 54
                             // <-, line 54
-                            slice_from("o");
+                            SliceFrom("o");
                             break;
                         case 5:
                             // (, line 55
                             // <-, line 55
-                            slice_from("u");
+                            SliceFrom("u");
                             break;
                         case 6:
                             // (, line 57
@@ -608,14 +608,14 @@
             // [, line 68
             m_ket = m_cursor;
             // substring, line 68
-            if (find_among_b(a_1, 13) == 0)
+            if (FindAmongB(a_1, 13) == 0)
             {
                 return false;
             }
             // ], line 68
             m_bra = m_cursor;
             // substring, line 72
-            among_var = find_among_b(a_2, 11);
+            among_var = FindAmongB(a_2, 11);
             if (among_var == 0)
             {
                 return false;
@@ -634,50 +634,50 @@
                     // ], line 73
                     m_bra = m_cursor;
                     // <-, line 73
-                    slice_from("iendo");
+                    SliceFrom("iendo");
                     break;
                 case 2:
                     // (, line 74
                     // ], line 74
                     m_bra = m_cursor;
                     // <-, line 74
-                    slice_from("ando");
+                    SliceFrom("ando");
                     break;
                 case 3:
                     // (, line 75
                     // ], line 75
                     m_bra = m_cursor;
                     // <-, line 75
-                    slice_from("ar");
+                    SliceFrom("ar");
                     break;
                 case 4:
                     // (, line 76
                     // ], line 76
                     m_bra = m_cursor;
                     // <-, line 76
-                    slice_from("er");
+                    SliceFrom("er");
                     break;
                 case 5:
                     // (, line 77
                     // ], line 77
                     m_bra = m_cursor;
                     // <-, line 77
-                    slice_from("ir");
+                    SliceFrom("ir");
                     break;
                 case 6:
                     // (, line 81
                     // delete, line 81
-                    slice_del();
+                    SliceDel();
                     break;
                 case 7:
                     // (, line 82
                     // literal, line 82
-                    if (!(eq_s_b(1, "u")))
+                    if (!(Eq_S_B(1, "u")))
                     {
                         return false;
                     }
                     // delete, line 82
-                    slice_del();
+                    SliceDel();
                     break;
             }
             return true;
@@ -695,7 +695,7 @@
             // [, line 87
             m_ket = m_cursor;
             // substring, line 87
-            among_var = find_among_b(a_6, 46);
+            among_var = FindAmongB(a_6, 46);
             if (among_var == 0)
             {
                 return false;
@@ -714,7 +714,7 @@
                         return false;
                     }
                     // delete, line 99
-                    slice_del();
+                    SliceDel();
                     break;
                 case 2:
                     // (, line 104
@@ -724,7 +724,7 @@
                         return false;
                     }
                     // delete, line 105
-                    slice_del();
+                    SliceDel();
                     // try, line 106
                     v_1 = m_limit - m_cursor;
                     do
@@ -733,7 +733,7 @@
                         // [, line 106
                         m_ket = m_cursor;
                         // literal, line 106
-                        if (!(eq_s_b(2, "ic")))
+                        if (!(Eq_S_B(2, "ic")))
                         {
                             m_cursor = m_limit - v_1;
                             goto lab0;
@@ -747,7 +747,7 @@
                             goto lab0;
                         }
                         // delete, line 106
-                        slice_del();
+                        SliceDel();
                     } while (false);
                     lab0:
                     break;
@@ -759,7 +759,7 @@
                         return false;
                     }
                     // <-, line 111
-                    slice_from("log");
+                    SliceFrom("log");
                     break;
                 case 4:
                     // (, line 114
@@ -769,7 +769,7 @@
                         return false;
                     }
                     // <-, line 115
-                    slice_from("u");
+                    SliceFrom("u");
                     break;
                 case 5:
                     // (, line 118
@@ -779,7 +779,7 @@
                         return false;
                     }
                     // <-, line 119
-                    slice_from("ente");
+                    SliceFrom("ente");
                     break;
                 case 6:
                     // (, line 122
@@ -789,7 +789,7 @@
                         return false;
                     }
                     // delete, line 123
-                    slice_del();
+                    SliceDel();
                     // try, line 124
                     v_2 = m_limit - m_cursor;
                     do
@@ -798,7 +798,7 @@
                         // [, line 125
                         m_ket = m_cursor;
                         // substring, line 125
-                        among_var = find_among_b(a_3, 4);
+                        among_var = FindAmongB(a_3, 4);
                         if (among_var == 0)
                         {
                             m_cursor = m_limit - v_2;
@@ -813,7 +813,7 @@
                             goto lab1;
                         }
                         // delete, line 125
-                        slice_del();
+                        SliceDel();
                         switch (among_var)
                         {
                             case 0:
@@ -824,7 +824,7 @@
                                 // [, line 126
                                 m_ket = m_cursor;
                                 // literal, line 126
-                                if (!(eq_s_b(2, "at")))
+                                if (!(Eq_S_B(2, "at")))
                                 {
                                     m_cursor = m_limit - v_2;
                                     goto lab1;
@@ -838,7 +838,7 @@
                                     goto lab1;
                                 }
                                 // delete, line 126
-                                slice_del();
+                                SliceDel();
                                 break;
                         }
                     } while (false);
@@ -852,7 +852,7 @@
                         return false;
                     }
                     // delete, line 135
-                    slice_del();
+                    SliceDel();
                     // try, line 136
                     v_3 = m_limit - m_cursor;
                     do
@@ -861,7 +861,7 @@
                         // [, line 137
                         m_ket = m_cursor;
                         // substring, line 137
-                        among_var = find_among_b(a_4, 3);
+                        among_var = FindAmongB(a_4, 3);
                         if (among_var == 0)
                         {
                             m_cursor = m_limit - v_3;
@@ -883,7 +883,7 @@
                                     goto lab2;
                                 }
                                 // delete, line 140
-                                slice_del();
+                                SliceDel();
                                 break;
                         }
                     } while (false);
@@ -897,7 +897,7 @@
                         return false;
                     }
                     // delete, line 147
-                    slice_del();
+                    SliceDel();
                     // try, line 148
                     v_4 = m_limit - m_cursor;
                     do
@@ -906,7 +906,7 @@
                         // [, line 149
                         m_ket = m_cursor;
                         // substring, line 149
-                        among_var = find_among_b(a_5, 3);
+                        among_var = FindAmongB(a_5, 3);
                         if (among_var == 0)
                         {
                             m_cursor = m_limit - v_4;
@@ -928,7 +928,7 @@
                                     goto lab3;
                                 }
                                 // delete, line 152
-                                slice_del();
+                                SliceDel();
                                 break;
                         }
                     } while (false);
@@ -942,7 +942,7 @@
                         return false;
                     }
                     // delete, line 159
-                    slice_del();
+                    SliceDel();
                     // try, line 160
                     v_5 = m_limit - m_cursor;
                     do
@@ -951,7 +951,7 @@
                         // [, line 161
                         m_ket = m_cursor;
                         // literal, line 161
-                        if (!(eq_s_b(2, "at")))
+                        if (!(Eq_S_B(2, "at")))
                         {
                             m_cursor = m_limit - v_5;
                             goto lab4;
@@ -965,7 +965,7 @@
                             goto lab4;
                         }
                         // delete, line 161
-                        slice_del();
+                        SliceDel();
                     } while (false);
                     lab4:
                     break;
@@ -994,7 +994,7 @@
             // [, line 168
             m_ket = m_cursor;
             // substring, line 168
-            among_var = find_among_b(a_7, 12);
+            among_var = FindAmongB(a_7, 12);
             if (among_var == 0)
             {
                 m_limit_backward = v_2;
@@ -1010,12 +1010,12 @@
                 case 1:
                     // (, line 171
                     // literal, line 171
-                    if (!(eq_s_b(1, "u")))
+                    if (!(Eq_S_B(1, "u")))
                     {
                         return false;
                     }
                     // delete, line 171
-                    slice_del();
+                    SliceDel();
                     break;
             }
             return true;
@@ -1044,7 +1044,7 @@
             // [, line 176
             m_ket = m_cursor;
             // substring, line 176
-            among_var = find_among_b(a_8, 96);
+            among_var = FindAmongB(a_8, 96);
             if (among_var == 0)
             {
                 m_limit_backward = v_2;
@@ -1065,7 +1065,7 @@
                     {
                         // (, line 179
                         // literal, line 179
-                        if (!(eq_s_b(1, "u")))
+                        if (!(Eq_S_B(1, "u")))
                         {
                             m_cursor = m_limit - v_3;
                             goto lab0;
@@ -1073,7 +1073,7 @@
                         // test, line 179
                         v_4 = m_limit - m_cursor;
                         // literal, line 179
-                        if (!(eq_s_b(1, "g")))
+                        if (!(Eq_S_B(1, "g")))
                         {
                             m_cursor = m_limit - v_3;
                             goto lab0;
@@ -1084,12 +1084,12 @@
                     // ], line 179
                     m_bra = m_cursor;
                     // delete, line 179
-                    slice_del();
+                    SliceDel();
                     break;
                 case 2:
                     // (, line 200
                     // delete, line 200
-                    slice_del();
+                    SliceDel();
                     break;
             }
             return true;
@@ -1104,7 +1104,7 @@
             // [, line 205
             m_ket = m_cursor;
             // substring, line 205
-            among_var = find_among_b(a_9, 8);
+            among_var = FindAmongB(a_9, 8);
             if (among_var == 0)
             {
                 return false;
@@ -1123,7 +1123,7 @@
                         return false;
                     }
                     // delete, line 208
-                    slice_del();
+                    SliceDel();
                     break;
                 case 2:
                     // (, line 210
@@ -1133,7 +1133,7 @@
                         return false;
                     }
                     // delete, line 210
-                    slice_del();
+                    SliceDel();
                     // try, line 210
                     v_1 = m_limit - m_cursor;
                     do
@@ -1142,7 +1142,7 @@
                         // [, line 210
                         m_ket = m_cursor;
                         // literal, line 210
-                        if (!(eq_s_b(1, "u")))
+                        if (!(Eq_S_B(1, "u")))
                         {
                             m_cursor = m_limit - v_1;
                             goto lab0;
@@ -1152,7 +1152,7 @@
                         // test, line 210
                         v_2 = m_limit - m_cursor;
                         // literal, line 210
-                        if (!(eq_s_b(1, "g")))
+                        if (!(Eq_S_B(1, "g")))
                         {
                             m_cursor = m_limit - v_1;
                             goto lab0;
@@ -1165,7 +1165,7 @@
                             goto lab0;
                         }
                         // delete, line 210
-                        slice_del();
+                        SliceDel();
                     } while (false);
                     lab0:
                     break;

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4abfb341/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/SwedishStemmer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/SwedishStemmer.cs b/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/SwedishStemmer.cs
index f934edf..706d563 100644
--- a/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/SwedishStemmer.cs
+++ b/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/SwedishStemmer.cs
@@ -77,7 +77,7 @@
         {
             I_x = other.I_x;
             I_p1 = other.I_p1;
-            base.copy_from(other);
+            base.CopyFrom(other);
         }
 
         private bool r_mark_regions()
@@ -107,7 +107,7 @@
                 v_2 = m_cursor;
                 do
                 {
-                    if (!(in_grouping(g_v, 97, 246)))
+                    if (!(InGrouping(g_v, 97, 246)))
                     {
                         goto lab1;
                     }
@@ -128,7 +128,7 @@
             {
                 do
                 {
-                    if (!(out_grouping(g_v, 97, 246)))
+                    if (!(OutGrouping(g_v, 97, 246)))
                     {
                         goto lab3;
                     }
@@ -179,7 +179,7 @@
             // [, line 37
             m_ket = m_cursor;
             // substring, line 37
-            among_var = find_among_b(a_0, 37);
+            among_var = FindAmongB(a_0, 37);
             if (among_var == 0)
             {
                 m_limit_backward = v_2;
@@ -195,16 +195,16 @@
                 case 1:
                     // (, line 44
                     // delete, line 44
-                    slice_del();
+                    SliceDel();
                     break;
                 case 2:
                     // (, line 46
-                    if (!(in_grouping_b(g_s_ending, 98, 121)))
+                    if (!(InGroupingB(g_s_ending, 98, 121)))
                     {
                         return false;
                     }
                     // delete, line 46
-                    slice_del();
+                    SliceDel();
                     break;
             }
             return true;
@@ -230,7 +230,7 @@
             // and, line 52
             v_3 = m_limit - m_cursor;
             // among, line 51
-            if (find_among_b(a_1, 7) == 0)
+            if (FindAmongB(a_1, 7) == 0)
             {
                 m_limit_backward = v_2;
                 return false;
@@ -249,7 +249,7 @@
             // ], line 52
             m_bra = m_cursor;
             // delete, line 52
-            slice_del();
+            SliceDel();
             m_limit_backward = v_2;
             return true;
         }
@@ -274,7 +274,7 @@
             // [, line 56
             m_ket = m_cursor;
             // substring, line 56
-            among_var = find_among_b(a_2, 5);
+            among_var = FindAmongB(a_2, 5);
             if (among_var == 0)
             {
                 m_limit_backward = v_2;
@@ -290,17 +290,17 @@
                 case 1:
                     // (, line 57
                     // delete, line 57
-                    slice_del();
+                    SliceDel();
                     break;
                 case 2:
                     // (, line 58
                     // <-, line 58
-                    slice_from("l\u00F6s");
+                    SliceFrom("l\u00F6s");
                     break;
                 case 3:
                     // (, line 59
                     // <-, line 59
-                    slice_from("full");
+                    SliceFrom("full");
                     break;
             }
             m_limit_backward = v_2;

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4abfb341/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/TurkishStemmer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/TurkishStemmer.cs b/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/TurkishStemmer.cs
index 72c3969..3dd337a 100644
--- a/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/TurkishStemmer.cs
+++ b/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/Ext/TurkishStemmer.cs
@@ -223,7 +223,7 @@
         {
             B_continue_stemming_noun_suffixes = other.B_continue_stemming_noun_suffixes;
             I_strlen = other.I_strlen;
-            base.copy_from(other);
+            base.CopyFrom(other);
         }
 
         private bool r_check_vowel_harmony()
@@ -251,7 +251,7 @@
                 v_2 = m_limit - m_cursor;
                 do
                 {
-                    if (!(in_grouping_b(g_vowel, 97, 305)))
+                    if (!(InGroupingB(g_vowel, 97, 305)))
                     {
                         goto lab1;
                     }
@@ -276,7 +276,7 @@
                 {
                     // (, line 116
                     // literal, line 116
-                    if (!(eq_s_b(1, "a")))
+                    if (!(Eq_S_B(1, "a")))
                     {
                         goto lab3;
                     }
@@ -286,7 +286,7 @@
                         v_4 = m_limit - m_cursor;
                         do
                         {
-                            if (!(in_grouping_b(g_vowel1, 97, 305)))
+                            if (!(InGroupingB(g_vowel1, 97, 305)))
                             {
                                 goto lab5;
                             }
@@ -310,7 +310,7 @@
                 {
                     // (, line 117
                     // literal, line 117
-                    if (!(eq_s_b(1, "e")))
+                    if (!(Eq_S_B(1, "e")))
                     {
                         goto lab6;
                     }
@@ -322,7 +322,7 @@
 
                         do
                         {
-                            if (!(in_grouping_b(g_vowel2, 101, 252)))
+                            if (!(InGroupingB(g_vowel2, 101, 252)))
                             {
                                 goto lab8;
                             }
@@ -347,7 +347,7 @@
                 {
                     // (, line 118
                     // literal, line 118
-                    if (!(eq_s_b(1, "\u0131")))
+                    if (!(Eq_S_B(1, "\u0131")))
                     {
                         goto lab9;
                     }
@@ -359,7 +359,7 @@
 
                         do
                         {
-                            if (!(in_grouping_b(g_vowel3, 97, 305)))
+                            if (!(InGroupingB(g_vowel3, 97, 305)))
                             {
                                 goto lab11;
                             }
@@ -384,7 +384,7 @@
                 {
                     // (, line 119
                     // literal, line 119
-                    if (!(eq_s_b(1, "i")))
+                    if (!(Eq_S_B(1, "i")))
                     {
                         goto lab12;
                     }
@@ -396,7 +396,7 @@
 
                         do
                         {
-                            if (!(in_grouping_b(g_vowel4, 101, 105)))
+                            if (!(InGroupingB(g_vowel4, 101, 105)))
                             {
                                 goto lab14;
                             }
@@ -420,7 +420,7 @@
                 {
                     // (, line 120
                     // literal, line 120
-                    if (!(eq_s_b(1, "o")))
+                    if (!(Eq_S_B(1, "o")))
                     {
                         goto lab15;
                     }
@@ -432,7 +432,7 @@
 
                         do
                         {
-                            if (!(in_grouping_b(g_vowel5, 111, 117)))
+                            if (!(InGroupingB(g_vowel5, 111, 117)))
                             {
                                 goto lab17;
                             }
@@ -456,7 +456,7 @@
                 {
                     // (, line 121
                     // literal, line 121
-                    if (!(eq_s_b(1, "\u00F6")))
+                    if (!(Eq_S_B(1, "\u00F6")))
                     {
                         goto lab18;
                     }
@@ -468,7 +468,7 @@
 
                         do
                         {
-                            if (!(in_grouping_b(g_vowel6, 246, 252)))
+                            if (!(InGroupingB(g_vowel6, 246, 252)))
                             {
                                 goto lab20;
                             }
@@ -492,7 +492,7 @@
                 {
                     // (, line 122
                     // literal, line 122
-                    if (!(eq_s_b(1, "u")))
+                    if (!(Eq_S_B(1, "u")))
                     {
                         goto lab21;
                     }
@@ -504,7 +504,7 @@
 
                         do
                         {
-                            if (!(in_grouping_b(g_vowel5, 111, 117)))
+                            if (!(InGroupingB(g_vowel5, 111, 117)))
                             {
                                 goto lab23;
                             }
@@ -526,7 +526,7 @@
                 m_cursor = m_limit - v_3;
                 // (, line 123
                 // literal, line 123
-                if (!(eq_s_b(1, "\u00FC")))
+                if (!(Eq_S_B(1, "\u00FC")))
                 {
                     return false;
                 }
@@ -538,7 +538,7 @@
 
                     do
                     {
-                        if (!(in_grouping_b(g_vowel6, 246, 252)))
+                        if (!(InGroupingB(g_vowel6, 246, 252)))
                         {
                             goto lab25;
                         }
@@ -582,7 +582,7 @@
                     // test, line 133
                     v_2 = m_limit - m_cursor;
                     // literal, line 133
-                    if (!(eq_s_b(1, "n")))
+                    if (!(Eq_S_B(1, "n")))
                     {
                         goto lab1;
                     }
@@ -596,7 +596,7 @@
                     // (, line 133
                     // test, line 133
                     v_3 = m_limit - m_cursor;
-                    if (!(in_grouping_b(g_vowel, 97, 305)))
+                    if (!(InGroupingB(g_vowel, 97, 305)))
                     {
                         goto lab1;
                     }
@@ -617,7 +617,7 @@
                         // test, line 135
                         v_5 = m_limit - m_cursor;
                         // literal, line 135
-                        if (!(eq_s_b(1, "n")))
+                        if (!(Eq_S_B(1, "n")))
                         {
                             goto lab2;
                         }
@@ -639,7 +639,7 @@
                 // (, line 135
                 // test, line 135
                 v_7 = m_limit - m_cursor;
-                if (!(in_grouping_b(g_vowel, 97, 305)))
+                if (!(InGroupingB(g_vowel, 97, 305)))
                 {
                     return false;
                 }
@@ -673,7 +673,7 @@
                     // test, line 144
                     v_2 = m_limit - m_cursor;
                     // literal, line 144
-                    if (!(eq_s_b(1, "s")))
+                    if (!(Eq_S_B(1, "s")))
                     {
                         goto lab1;
                     }
@@ -687,7 +687,7 @@
                     // (, line 144
                     // test, line 144
                     v_3 = m_limit - m_cursor;
-                    if (!(in_grouping_b(g_vowel, 97, 305)))
+                    if (!(InGroupingB(g_vowel, 97, 305)))
                     {
                         goto lab1;
                     }
@@ -708,7 +708,7 @@
                         // test, line 146
                         v_5 = m_limit - m_cursor;
                         // literal, line 146
-                        if (!(eq_s_b(1, "s")))
+                        if (!(Eq_S_B(1, "s")))
                         {
                             goto lab2;
                         }
@@ -730,7 +730,7 @@
                 // (, line 146
                 // test, line 146
                 v_7 = m_limit - m_cursor;
-                if (!(in_grouping_b(g_vowel, 97, 305)))
+                if (!(InGroupingB(g_vowel, 97, 305)))
                 {
                     return false;
                 }
@@ -764,7 +764,7 @@
                     // test, line 154
                     v_2 = m_limit - m_cursor;
                     // literal, line 154
-                    if (!(eq_s_b(1, "y")))
+                    if (!(Eq_S_B(1, "y")))
                     {
                         goto lab1;
                     }
@@ -778,7 +778,7 @@
                     // (, line 154
                     // test, line 154
                     v_3 = m_limit - m_cursor;
-                    if (!(in_grouping_b(g_vowel, 97, 305)))
+                    if (!(InGroupingB(g_vowel, 97, 305)))
                     {
                         goto lab1;
                     }
@@ -799,7 +799,7 @@
                         // test, line 156
                         v_5 = m_limit - m_cursor;
                         // literal, line 156
-                        if (!(eq_s_b(1, "y")))
+                        if (!(Eq_S_B(1, "y")))
                         {
                             goto lab2;
                         }
@@ -821,7 +821,7 @@
                 // (, line 156
                 // test, line 156
                 v_7 = m_limit - m_cursor;
-                if (!(in_grouping_b(g_vowel, 97, 305)))
+                if (!(InGroupingB(g_vowel, 97, 305)))
                 {
                     return false;
                 }
@@ -852,7 +852,7 @@
                     // (, line 160
                     // test, line 160
                     v_2 = m_limit - m_cursor;
-                    if (!(in_grouping_b(g_U, 105, 305)))
+                    if (!(InGroupingB(g_U, 105, 305)))
                     {
                         goto lab1;
                     }
@@ -866,7 +866,7 @@
                     // (, line 160
                     // test, line 160
                     v_3 = m_limit - m_cursor;
-                    if (!(out_grouping_b(g_vowel, 97, 305)))
+                    if (!(OutGroupingB(g_vowel, 97, 305)))
                     {
                         goto lab1;
                     }
@@ -886,7 +886,7 @@
                         // (, line 162
                         // test, line 162
                         v_5 = m_limit - m_cursor;
-                        if (!(in_grouping_b(g_U, 105, 305)))
+                        if (!(InGroupingB(g_U, 105, 305)))
                         {
                             goto lab2;
                         }
@@ -908,7 +908,7 @@
                 // (, line 162
                 // test, line 162
                 v_7 = m_limit - m_cursor;
-                if (!(out_grouping_b(g_vowel, 97, 305)))
+                if (!(OutGroupingB(g_vowel, 97, 305)))
                 {
                     return false;
                 }
@@ -923,7 +923,7 @@
         {
             // (, line 166
             // among, line 167
-            if (find_among_b(a_0, 10) == 0)
+            if (FindAmongB(a_0, 10) == 0)
             {
                 return false;
             }
@@ -944,7 +944,7 @@
             {
                 return false;
             }
-            if (!(in_grouping_b(g_U, 105, 305)))
+            if (!(InGroupingB(g_U, 105, 305)))
             {
                 return false;
             }
@@ -961,7 +961,7 @@
         {
             // (, line 178
             // among, line 179
-            if (find_among_b(a_1, 2) == 0)
+            if (FindAmongB(a_1, 2) == 0)
             {
                 return false;
             }
@@ -976,7 +976,7 @@
             {
                 return false;
             }
-            if (!(in_grouping_b(g_U, 105, 305)))
+            if (!(InGroupingB(g_U, 105, 305)))
             {
                 return false;
             }
@@ -998,7 +998,7 @@
                 return false;
             }
             // among, line 190
-            if (find_among_b(a_2, 4) == 0)
+            if (FindAmongB(a_2, 4) == 0)
             {
                 return false;
             }
@@ -1014,7 +1014,7 @@
                 return false;
             }
             // among, line 195
-            if (find_among_b(a_3, 4) == 0)
+            if (FindAmongB(a_3, 4) == 0)
             {
                 return false;
             }
@@ -1036,7 +1036,7 @@
                 return false;
             }
             // among, line 201
-            if (find_among_b(a_4, 2) == 0)
+            if (FindAmongB(a_4, 2) == 0)
             {
                 return false;
             }
@@ -1058,7 +1058,7 @@
                 return false;
             }
             // among, line 207
-            if (find_among_b(a_5, 2) == 0)
+            if (FindAmongB(a_5, 2) == 0)
             {
                 return false;
             }
@@ -1074,7 +1074,7 @@
                 return false;
             }
             // among, line 212
-            if (find_among_b(a_6, 4) == 0)
+            if (FindAmongB(a_6, 4) == 0)
             {
                 return false;
             }
@@ -1090,7 +1090,7 @@
                 return false;
             }
             // among, line 217
-            if (find_among_b(a_7, 2) == 0)
+            if (FindAmongB(a_7, 2) == 0)
             {
                 return false;
             }
@@ -1106,7 +1106,7 @@
                 return false;
             }
             // among, line 222
-            if (find_among_b(a_8, 4) == 0)
+            if (FindAmongB(a_8, 4) == 0)
             {
                 return false;
             }
@@ -1122,7 +1122,7 @@
                 return false;
             }
             // among, line 227
-            if (find_among_b(a_9, 2) == 0)
+            if (FindAmongB(a_9, 2) == 0)
             {
                 return false;
             }
@@ -1138,7 +1138,7 @@
                 return false;
             }
             // among, line 232
-            if (find_among_b(a_10, 2) == 0)
+            if (FindAmongB(a_10, 2) == 0)
             {
                 return false;
             }
@@ -1155,7 +1155,7 @@
         {
             // (, line 236
             // literal, line 237
-            if (!(eq_s_b(2, "ki")))
+            if (!(Eq_S_B(2, "ki")))
             {
                 return false;
             }
@@ -1171,7 +1171,7 @@
                 return false;
             }
             // among, line 242
-            if (find_among_b(a_11, 2) == 0)
+            if (FindAmongB(a_11, 2) == 0)
             {
                 return false;
             }
@@ -1193,7 +1193,7 @@
                 return false;
             }
             // among, line 248
-            if (find_among_b(a_12, 4) == 0)
+            if (FindAmongB(a_12, 4) == 0)
             {
                 return false;
             }
@@ -1215,7 +1215,7 @@
                 return false;
             }
             // among, line 254
-            if (find_among_b(a_13, 4) == 0)
+            if (FindAmongB(a_13, 4) == 0)
             {
                 return false;
             }
@@ -1231,7 +1231,7 @@
                 return false;
             }
             // among, line 259
-            if (find_among_b(a_14, 4) == 0)
+            if (FindAmongB(a_14, 4) == 0)
             {
                 return false;
             }
@@ -1248,7 +1248,7 @@
         {
             // (, line 263
             // among, line 264
-            if (find_among_b(a_15, 4) == 0)
+            if (FindAmongB(a_15, 4) == 0)
             {
                 return false;
             }
@@ -1264,7 +1264,7 @@
                 return false;
             }
             // among, line 269
-            if (find_among_b(a_16, 2) == 0)
+            if (FindAmongB(a_16, 2) == 0)
             {
                 return false;
             }
@@ -1280,7 +1280,7 @@
                 return false;
             }
             // among, line 274
-            if (find_among_b(a_17, 4) == 0)
+            if (FindAmongB(a_17, 4) == 0)
             {
                 return false;
             }
@@ -1296,7 +1296,7 @@
                 return false;
             }
             // among, line 279
-            if (find_among_b(a_18, 8) == 0)
+            if (FindAmongB(a_18, 8) == 0)
             {
                 return false;
             }
@@ -1307,7 +1307,7 @@
         {
             // (, line 282
             // among, line 283
-            if (find_among_b(a_19, 2) == 0)
+            if (FindAmongB(a_19, 2) == 0)
             {
                 return false;
             }
@@ -1323,7 +1323,7 @@
                 return false;
             }
             // among, line 288
-            if (find_among_b(a_20, 32) == 0)
+            if (FindAmongB(a_20, 32) == 0)
             {
                 return false;
             }
@@ -1340,7 +1340,7 @@
         {
             // (, line 296
             // among, line 297
-            if (find_among_b(a_21, 8) == 0)
+            if (FindAmongB(a_21, 8) == 0)
             {
                 return false;
             }
@@ -1362,7 +1362,7 @@
                 return false;
             }
             // among, line 303
-            if (find_among_b(a_22, 4) == 0)
+            if (FindAmongB(a_22, 4) == 0)
             {
                 return false;
             }
@@ -1379,7 +1379,7 @@
         {
             // (, line 307
             // literal, line 308
-            if (!(eq_s_b(3, "ken")))
+            if (!(Eq_S_B(3, "ken")))
             {
                 return false;
             }
@@ -1568,7 +1568,7 @@
                     // ], line 319
                     m_bra = m_cursor;
                     // delete, line 319
-                    slice_del();
+                    SliceDel();
                     // try, line 319
                     v_4 = m_limit - m_cursor;
 
@@ -1729,7 +1729,7 @@
                     // ], line 325
                     m_bra = m_cursor;
                     // delete, line 325
-                    slice_del();
+                    SliceDel();
                     // try, line 325
                     v_8 = m_limit - m_cursor;
 
@@ -1759,7 +1759,7 @@
                 // ], line 327
                 m_bra = m_cursor;
                 // delete, line 327
-                slice_del();
+                SliceDel();
                 // try, line 327
                 v_9 = m_limit - m_cursor;
 
@@ -1849,7 +1849,7 @@
             // ], line 328
             m_bra = m_cursor;
             // delete, line 328
-            slice_del();
+            SliceDel();
             return true;
         }
 
@@ -1892,7 +1892,7 @@
                     // ], line 336
                     m_bra = m_cursor;
                     // delete, line 336
-                    slice_del();
+                    SliceDel();
                     // try, line 336
                     v_2 = m_limit - m_cursor;
 
@@ -1918,7 +1918,7 @@
                                 // ], line 337
                                 m_bra = m_cursor;
                                 // delete, line 337
-                                slice_del();
+                                SliceDel();
                                 // try, line 337
                                 v_4 = m_limit - m_cursor;
 
@@ -1947,7 +1947,7 @@
                             // ], line 339
                             m_bra = m_cursor;
                             // delete, line 339
-                            slice_del();
+                            SliceDel();
                             // try, line 339
                             v_5 = m_limit - m_cursor;
 
@@ -1965,7 +1965,7 @@
                                 // ], line 339
                                 m_bra = m_cursor;
                                 // delete, line 339
-                                slice_del();
+                                SliceDel();
                                 // call stem_suffix_chain_before_ki, line 339
                                 if (!r_stem_suffix_chain_before_ki())
                                 {
@@ -1994,7 +1994,7 @@
                     // ], line 343
                     m_bra = m_cursor;
                     // delete, line 343
-                    slice_del();
+                    SliceDel();
                     // try, line 343
                     v_6 = m_limit - m_cursor;
 
@@ -2020,7 +2020,7 @@
                                 // ], line 344
                                 m_bra = m_cursor;
                                 // delete, line 344
-                                slice_del();
+                                SliceDel();
                                 goto lab9;
                             } while (false);
                             lab10:
@@ -2058,7 +2058,7 @@
                                 // ], line 346
                                 m_bra = m_cursor;
                                 // delete, line 346
-                                slice_del();
+                                SliceDel();
                                 // try, line 346
                                 v_9 = m_limit - m_cursor;
 
@@ -2076,7 +2076,7 @@
                                     // ], line 346
                                     m_bra = m_cursor;
                                     // delete, line 346
-                                    slice_del();
+                                    SliceDel();
                                     // call stem_suffix_chain_before_ki, line 346
                                     if (!r_stem_suffix_chain_before_ki())
                                     {
@@ -2128,7 +2128,7 @@
                         // ], line 352
                         m_bra = m_cursor;
                         // delete, line 352
-                        slice_del();
+                        SliceDel();
                         goto lab15;
                     } while (false);
                     lab16:
@@ -2146,7 +2146,7 @@
                         // ], line 354
                         m_bra = m_cursor;
                         // delete, line 354
-                        slice_del();
+                        SliceDel();
                         // try, line 354
                         v_11 = m_limit - m_cursor;
 
@@ -2164,7 +2164,7 @@
                             // ], line 354
                             m_bra = m_cursor;
                             // delete, line 354
-                            slice_del();
+                            SliceDel();
                             // call stem_suffix_chain_before_ki, line 354
                             if (!r_stem_suffix_chain_before_ki())
                             {
@@ -2239,7 +2239,7 @@
                     // ], line 362
                     m_bra = m_cursor;
                     // delete, line 362
-                    slice_del();
+                    SliceDel();
                     // try, line 362
                     v_2 = m_limit - m_cursor;
 
@@ -2272,7 +2272,7 @@
                     // ], line 364
                     m_bra = m_cursor;
                     // delete, line 364
-                    slice_del();
+                    SliceDel();
                     // try, line 365
                     v_3 = m_limit - m_cursor;
 
@@ -2298,7 +2298,7 @@
                                 // ], line 366
                                 m_bra = m_cursor;
                                 // delete, line 366
-                                slice_del();
+                                SliceDel();
                                 goto lab5;
                             } while (false);
                             lab6:
@@ -2336,7 +2336,7 @@
                                 // ], line 368
                                 m_bra = m_cursor;
                                 // delete, line 368
-                                slice_del();
+                                SliceDel();
                                 // try, line 368
                                 v_6 = m_limit - m_cursor;
 
@@ -2354,7 +2354,7 @@
                                     // ], line 368
                                     m_bra = m_cursor;
                                     // delete, line 368
-                                    slice_del();
+                                    SliceDel();
                                     // call stem_suffix_chain_before_ki, line 368
                                     if (!r_stem_suffix_chain_before_ki())
                                     {
@@ -2379,7 +2379,7 @@
                             // ], line 370
                             m_bra = m_cursor;
                             // delete, line 370
-                            slice_del();
+                            SliceDel();
                             // call stem_suffix_chain_before_ki, line 370
                             if (!r_stem_suffix_chain_before_ki())
                             {
@@ -2443,7 +2443,7 @@
                             // ], line 376
                             m_bra = m_cursor;
                             // delete, line 376
-                            slice_del();
+                            SliceDel();
                             goto lab14;
                         } while (false);
                         lab15:
@@ -2460,7 +2460,7 @@
                             // ], line 378
                             m_bra = m_cursor;
                             // delete, line 378
-                            slice_del();
+                            SliceDel();
                             // try, line 378
                             v_9 = m_limit - m_cursor;
 
@@ -2478,7 +2478,7 @@
                                 // ], line 378
                                 m_bra = m_cursor;
                                 // delete, line 378
-                                slice_del();
+                                SliceDel();
                                 // call stem_suffix_chain_before_ki, line 378
                                 if (!r_stem_suffix_chain_before_ki())
                                 {
@@ -2552,7 +2552,7 @@
                             // ], line 384
                             m_bra = m_cursor;
                             // delete, line 384
-                            slice_del();
+                            SliceDel();
                             // try, line 384
                             v_12 = m_limit - m_cursor;
 
@@ -2570,7 +2570,7 @@
                                 // ], line 384
                                 m_bra = m_cursor;
                                 // delete, line 384
-                                slice_del();
+                                SliceDel();
                                 // call stem_suffix_chain_before_ki, line 384
                                 if (!r_stem_suffix_chain_before_ki())
                                 {
@@ -2609,7 +2609,7 @@
                     // ], line 386
                     m_bra = m_cursor;
                     // delete, line 386
-                    slice_del();
+                    SliceDel();
                     // try, line 386
                     v_13 = m_limit - m_cursor;
 
@@ -2636,7 +2636,7 @@
                                 // ], line 388
                                 m_bra = m_cursor;
                                 // delete, line 388
-                                slice_del();
+                                SliceDel();
                                 // try, line 388
                                 v_15 = m_limit - m_cursor;
 
@@ -2654,7 +2654,7 @@
                                     // ], line 388
                                     m_bra = m_cursor;
                                     // delete, line 388
-                                    slice_del();
+                                    SliceDel();
                                     // call stem_suffix_chain_before_ki, line 388
                                     if (!r_stem_suffix_chain_before_ki())
                                     {
@@ -2679,7 +2679,7 @@
                                 // ], line 390
                                 m_bra = m_cursor;
                                 // delete, line 390
-                                slice_del();
+                                SliceDel();
                                 // try, line 390
                                 v_16 = m_limit - m_cursor;
 
@@ -2746,7 +2746,7 @@
                     // ], line 396
                     m_bra = m_cursor;
                     // delete, line 396
-                    slice_del();
+                    SliceDel();
                     // try, line 397
                     v_18 = m_limit - m_cursor;
 
@@ -2772,7 +2772,7 @@
                                 // ], line 398
                                 m_bra = m_cursor;
                                 // delete, line 398
-                                slice_del();
+                                SliceDel();
                                 // call stem_suffix_chain_before_ki, line 398
                                 if (!r_stem_suffix_chain_before_ki())
                                 {
@@ -2815,7 +2815,7 @@
                                 // ], line 400
                                 m_bra = m_cursor;
                                 // delete, line 400
-                                slice_del();
+                                SliceDel();
                                 // try, line 400
                                 v_21 = m_limit - m_cursor;
 
@@ -2833,7 +2833,7 @@
                                     // ], line 400
                                     m_bra = m_cursor;
                                     // delete, line 400
-                                    slice_del();
+                                    SliceDel();
                                     // call stem_suffix_chain_before_ki, line 400
                                     if (!r_stem_suffix_chain_before_ki())
                                     {
@@ -2874,7 +2874,7 @@
                     // ], line 406
                     m_bra = m_cursor;
                     // delete, line 406
-                    slice_del();
+                    SliceDel();
                     goto lab0;
                 } while (false);
                 lab41:
@@ -2937,7 +2937,7 @@
                     // ], line 410
                     m_bra = m_cursor;
                     // delete, line 410
-                    slice_del();
+                    SliceDel();
                     // try, line 410
                     v_23 = m_limit - m_cursor;
 
@@ -2964,7 +2964,7 @@
                                 // ], line 410
                                 m_bra = m_cursor;
                                 // delete, line 410
-                                slice_del();
+                                SliceDel();
                                 // try, line 410
                                 v_25 = m_limit - m_cursor;
 
@@ -2996,7 +2996,7 @@
                         // ], line 410
                         m_bra = m_cursor;
                         // delete, line 410
-                        slice_del();
+                        SliceDel();
                         // [, line 410
                         m_ket = m_cursor;
                         // call stem_suffix_chain_before_ki, line 410
@@ -3041,7 +3041,7 @@
                 // ], line 412
                 m_bra = m_cursor;
                 // delete, line 412
-                slice_del();
+                SliceDel();
                 // try, line 412
                 v_27 = m_limit - m_cursor;
 
@@ -3059,7 +3059,7 @@
                     // ], line 412
                     m_bra = m_cursor;
                     // delete, line 412
-                    slice_del();
+                    SliceDel();
                     // call stem_suffix_chain_before_ki, line 412
                     if (!r_stem_suffix_chain_before_ki())
                     {
@@ -3080,7 +3080,7 @@
             // [, line 416
             m_ket = m_cursor;
             // substring, line 416
-            among_var = find_among_b(a_23, 4);
+            among_var = FindAmongB(a_23, 4);
             if (among_var == 0)
             {
                 return false;
@@ -3094,22 +3094,22 @@
                 case 1:
                     // (, line 417
                     // <-, line 417
-                    slice_from("p");
+                    SliceFrom("p");
                     break;
                 case 2:
                     // (, line 418
                     // <-, line 418
-                    slice_from("\u00E7");
+                    SliceFrom("\u00E7");
                     break;
                 case 3:
                     // (, line 419
                     // <-, line 419
-                    slice_from("t");
+                    SliceFrom("t");
                     break;
                 case 4:
                     // (, line 420
                     // <-, line 420
-                    slice_from("k");
+                    SliceFrom("k");
                     break;
             }
             return true;
@@ -3145,7 +3145,7 @@
                 do
                 {
                     // literal, line 431
-                    if (!(eq_s_b(1, "d")))
+                    if (!(Eq_S_B(1, "d")))
                     {
                         goto lab1;
                     }
@@ -3154,7 +3154,7 @@
                 lab1:
                 m_cursor = m_limit - v_2;
                 // literal, line 431
-                if (!(eq_s_b(1, "g")))
+                if (!(Eq_S_B(1, "g")))
                 {
                     return false;
                 }
@@ -3182,7 +3182,7 @@
 
                         do
                         {
-                            if (!(in_grouping_b(g_vowel, 97, 305)))
+                            if (!(InGroupingB(g_vowel, 97, 305)))
                             {
                                 goto lab5;
                             }
@@ -3207,7 +3207,7 @@
                         do
                         {
                             // literal, line 432
-                            if (!(eq_s_b(1, "a")))
+                            if (!(Eq_S_B(1, "a")))
                             {
                                 goto lab7;
                             }
@@ -3216,7 +3216,7 @@
                         lab7:
                         m_cursor = m_limit - v_6;
                         // literal, line 432
-                        if (!(eq_s_b(1, "\u0131")))
+                        if (!(Eq_S_B(1, "\u0131")))
                         {
                             goto lab3;
                         }
@@ -3226,7 +3226,7 @@
                     // <+, line 432
                     {
                         int c = m_cursor;
-                        insert(m_cursor, m_cursor, "\u0131");
+                        Insert(m_cursor, m_cursor, "\u0131");
                         m_cursor = c;
                     }
                     goto lab2;
@@ -3249,7 +3249,7 @@
 
                         do
                         {
-                            if (!(in_grouping_b(g_vowel, 97, 305)))
+                            if (!(InGroupingB(g_vowel, 97, 305)))
                             {
                                 goto lab10;
                             }
@@ -3274,7 +3274,7 @@
                         do
                         {
                             // literal, line 434
-                            if (!(eq_s_b(1, "e")))
+                            if (!(Eq_S_B(1, "e")))
                             {
                                 goto lab12;
                             }
@@ -3283,7 +3283,7 @@
                         lab12:
                         m_cursor = m_limit - v_9;
                         // literal, line 434
-                        if (!(eq_s_b(1, "i")))
+                        if (!(Eq_S_B(1, "i")))
                         {
                             goto lab8;
                         }
@@ -3293,7 +3293,7 @@
                     // <+, line 434
                     {
                         int c = m_cursor;
-                        insert(m_cursor, m_cursor, "i");
+                        Insert(m_cursor, m_cursor, "i");
                         m_cursor = c;
                     }
                     goto lab2;
@@ -3316,7 +3316,7 @@
 
                         do
                         {
-                            if (!(in_grouping_b(g_vowel, 97, 305)))
+                            if (!(InGroupingB(g_vowel, 97, 305)))
                             {
                                 goto lab15;
                             }
@@ -3341,7 +3341,7 @@
                         do
                         {
                             // literal, line 436
-                            if (!(eq_s_b(1, "o")))
+                            if (!(Eq_S_B(1, "o")))
                             {
                                 goto lab17;
                             }
@@ -3350,7 +3350,7 @@
                         lab17:
                         m_cursor = m_limit - v_12;
                         // literal, line 436
-                        if (!(eq_s_b(1, "u")))
+                        if (!(Eq_S_B(1, "u")))
                         {
                             goto lab13;
                         }
@@ -3360,7 +3360,7 @@
                     // <+, line 436
                     {
                         int c = m_cursor;
-                        insert(m_cursor, m_cursor, "u");
+                        Insert(m_cursor, m_cursor, "u");
                         m_cursor = c;
                     }
                     goto lab2;
@@ -3380,7 +3380,7 @@
 
                     do
                     {
-                        if (!(in_grouping_b(g_vowel, 97, 305)))
+                        if (!(InGroupingB(g_vowel, 97, 305)))
                         {
                             goto lab19;
                         }
@@ -3405,7 +3405,7 @@
                     do
                     {
                         // literal, line 438
-                        if (!(eq_s_b(1, "\u00F6")))
+                        if (!(Eq_S_B(1, "\u00F6")))
                         {
                             goto lab21;
                         }
@@ -3414,7 +3414,7 @@
                     lab21:
                     m_cursor = m_limit - v_15;
                     // literal, line 438
-                    if (!(eq_s_b(1, "\u00FC")))
+                    if (!(Eq_S_B(1, "\u00FC")))
                     {
                         return false;
                     }
@@ -3424,7 +3424,7 @@
                 // <+, line 438
                 {
                     int c = m_cursor;
-                    insert(m_cursor, m_cursor, "\u00FC");
+                    Insert(m_cursor, m_cursor, "\u00FC");
                     m_cursor = c;
                 }
             } while (false);
@@ -3459,7 +3459,7 @@
 
                             do
                             {
-                                if (!(in_grouping(g_vowel, 97, 305)))
+                                if (!(InGrouping(g_vowel, 97, 305)))
                                 {
                                     goto lab3;
                                 }
@@ -3523,7 +3523,7 @@
                         do
                         {
                             // literal, line 450
-                            if (!(eq_s(2, "ad")))
+                            if (!(Eq_S(2, "ad")))
                             {
                                 goto lab3;
                             }
@@ -3560,7 +3560,7 @@
                     do
                     {
                         // literal, line 452
-                        if (!(eq_s(5, "soyad")))
+                        if (!(Eq_S(5, "soyad")))
                         {
                             goto lab5;
                         }

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4abfb341/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/SnowballProgram.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/SnowballProgram.cs b/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/SnowballProgram.cs
index 8204316..b2636ff 100644
--- a/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/SnowballProgram.cs
+++ b/src/Lucene.Net.Analysis.Common/Tartarus/Snowball/SnowballProgram.cs
@@ -51,7 +51,7 @@ namespace Lucene.Net.Tartarus.Snowball
     {
         private static readonly object[] EMPTY_ARGS = new object[0];
 
-    protected SnowballProgram()
+        protected SnowballProgram()
         {
             m_current = new char[8];
             SetCurrent("");
@@ -59,10 +59,10 @@ namespace Lucene.Net.Tartarus.Snowball
 
         public abstract bool Stem();
 
-        /**
-         * Set the current string.
-         */
-        public void SetCurrent(string value)
+        /// <summary>
+        /// Set the current string.
+        /// </summary>
+        public virtual void SetCurrent(string value)
         {
             m_current = value.ToCharArray();
             m_cursor = 0;
@@ -72,20 +72,20 @@ namespace Lucene.Net.Tartarus.Snowball
             m_ket = m_limit;
         }
 
-        /**
-         * Get the current string.
-         */
-        public string Current
+        /// <summary>
+        /// Get the current string.
+        /// </summary>
+        public virtual string Current
         {
             get { return new string(m_current, 0, m_limit); }
         }
 
-        /**
-         * Set the current string.
-         * @param text character array containing input
-         * @param length valid length of text.
-         */
-        public void SetCurrent(char[] text, int length)
+        /// <summary>
+        /// Set the current string.
+        /// </summary>
+        /// <param name="text">character array containing input</param>
+        /// <param name="length">valid length of text.</param>
+        public virtual void SetCurrent(char[] text, int length)
         {
             m_current = text;
             m_cursor = 0;
@@ -95,33 +95,29 @@ namespace Lucene.Net.Tartarus.Snowball
             m_ket = m_limit;
         }
 
-        /**
-         * Get the current buffer containing the stem.
-         * <p>
-         * NOTE: this may be a reference to a different character array than the
-         * one originally provided with setCurrent, in the exceptional case that 
-         * stemming produced a longer intermediate or result string. 
-         * </p>
-         * <p>
-         * It is necessary to use {@link #getCurrentBufferLength()} to determine
-         * the valid length of the returned buffer. For example, many words are
-         * stemmed simply by subtracting from the length to remove suffixes.
-         * </p>
-         * @see #getCurrentBufferLength()
-         */
+        /// <summary>
+        /// Get the current buffer containing the stem.
+        /// <para/>
+        /// NOTE: this may be a reference to a different character array than the
+        /// one originally provided with setCurrent, in the exceptional case that 
+        /// stemming produced a longer intermediate or result string.
+        /// <para/>
+        /// It is necessary to use <see cref="CurrentBufferLength"/> to determine
+        /// the valid length of the returned buffer. For example, many words are
+        /// stemmed simply by subtracting from the length to remove suffixes.
+        /// </summary>
+        /// <seealso cref="CurrentBufferLength"/>
         [WritableArray]
         [SuppressMessage("Microsoft.Performance", "CA1819", Justification = "Lucene's design requires some writable array properties")]
-        public char[] CurrentBuffer
+        public virtual char[] CurrentBuffer
         {
             get { return m_current; }
         }
 
-        /**
-         * Get the valid length of the character array in 
-         * {@link #getCurrentBuffer()}. 
-         * @return valid length of the array.
-         */
-        public int CurrentBufferLength
+        /// <summary>
+        /// Get the valid length of the character array in <seealso cref="CurrentBuffer"/>
+        /// </summary>
+        public virtual int CurrentBufferLength
         {
             get { return m_limit; }
         }
@@ -135,7 +131,7 @@ namespace Lucene.Net.Tartarus.Snowball
         protected int m_bra;
         protected int m_ket;
 
-        protected void copy_from(SnowballProgram other)
+        protected virtual void CopyFrom(SnowballProgram other)
         {
             m_current = other.m_current;
             m_cursor = other.m_cursor;
@@ -145,7 +141,7 @@ namespace Lucene.Net.Tartarus.Snowball
             m_ket = other.m_ket;
         }
 
-        protected bool in_grouping(char[] s, int min, int max)
+        protected virtual bool InGrouping(char[] s, int min, int max)
         {
             if (m_cursor >= m_limit) return false;
             char ch = m_current[m_cursor];
@@ -156,7 +152,7 @@ namespace Lucene.Net.Tartarus.Snowball
             return true;
         }
 
-        protected bool in_grouping_b(char[] s, int min, int max)
+        protected virtual bool InGroupingB(char[] s, int min, int max)
         {
             if (m_cursor <= m_limit_backward) return false;
             char ch = m_current[m_cursor - 1];
@@ -167,7 +163,7 @@ namespace Lucene.Net.Tartarus.Snowball
             return true;
         }
 
-        protected bool out_grouping(char[] s, int min, int max)
+        protected virtual bool OutGrouping(char[] s, int min, int max)
         {
             if (m_cursor >= m_limit) return false;
             char ch = m_current[m_cursor];
@@ -185,7 +181,7 @@ namespace Lucene.Net.Tartarus.Snowball
             return false;
         }
 
-        protected bool out_grouping_b(char[] s, int min, int max)
+        protected virtual bool OutGroupingB(char[] s, int min, int max)
         {
             if (m_cursor <= m_limit_backward) return false;
             char ch = m_current[m_cursor - 1];
@@ -203,7 +199,7 @@ namespace Lucene.Net.Tartarus.Snowball
             return false;
         }
 
-        protected bool in_range(int min, int max)
+        protected virtual bool InRange(int min, int max)
         {
             if (m_cursor >= m_limit) return false;
             char ch = m_current[m_cursor];
@@ -212,7 +208,7 @@ namespace Lucene.Net.Tartarus.Snowball
             return true;
         }
 
-        protected bool in_range_b(int min, int max)
+        protected virtual bool InRangeB(int min, int max)
         {
             if (m_cursor <= m_limit_backward) return false;
             char ch = m_current[m_cursor - 1];
@@ -221,7 +217,7 @@ namespace Lucene.Net.Tartarus.Snowball
             return true;
         }
 
-        protected bool out_range(int min, int max)
+        protected virtual bool OutRange(int min, int max)
         {
             if (m_cursor >= m_limit) return false;
             char ch = m_current[m_cursor];
@@ -230,7 +226,7 @@ namespace Lucene.Net.Tartarus.Snowball
             return true;
         }
 
-        protected bool out_range_b(int min, int max)
+        protected virtual bool OutRangeB(int min, int max)
         {
             if (m_cursor <= m_limit_backward) return false;
             char ch = m_current[m_cursor - 1];
@@ -239,7 +235,7 @@ namespace Lucene.Net.Tartarus.Snowball
             return true;
         }
 
-        protected bool eq_s(int s_size, string s)
+        protected virtual bool Eq_S(int s_size, string s)
         {
             if (m_limit - m_cursor < s_size) return false;
             int i;
@@ -251,7 +247,7 @@ namespace Lucene.Net.Tartarus.Snowball
             return true;
         }
 
-        protected bool eq_s_b(int s_size, string s)
+        protected virtual bool Eq_S_B(int s_size, string s)
         {
             if (m_cursor - m_limit_backward < s_size) return false;
             int i;
@@ -263,17 +259,17 @@ namespace Lucene.Net.Tartarus.Snowball
             return true;
         }
 
-        protected bool eq_v(string s)
+        protected virtual bool Eq_V(string s)
         {
-            return eq_s(s.Length, s);
+            return Eq_S(s.Length, s);
         }
 
-        protected bool eq_v_b(string s)
+        protected virtual bool Eq_V_B(string s)
         {
-            return eq_s_b(s.Length, s);
+            return Eq_S_B(s.Length, s);
         }
 
-        protected int find_among(Among[] v, int v_size)
+        protected virtual int FindAmong(Among[] v, int v_size)
         {
             int i = 0;
             int j = v_size;
@@ -359,7 +355,7 @@ namespace Lucene.Net.Tartarus.Snowball
         }
 
         // find_among_b is for backwards processing. Same comments apply
-        protected int find_among_b(Among[] v, int v_size)
+        protected virtual int FindAmongB(Among[] v, int v_size)
         {
             int i = 0;
             int j = v_size;
@@ -440,10 +436,11 @@ namespace Lucene.Net.Tartarus.Snowball
             }
         }
 
-        /* to replace chars between c_bra and c_ket in current by the
-           * chars in s.
-           */
-        protected int replace_s(int c_bra, int c_ket, string s)
+        /// <summary>
+        /// to replace chars between <paramref name="c_bra"/> and <paramref name="c_ket"/> in current by the
+        /// chars in <paramref name="s"/>.
+        /// </summary>
+        protected virtual int ReplaceS(int c_bra, int c_ket, string s)
         {
             int adjustment = s.Length - (c_ket - c_bra);
             int newLength = m_limit + adjustment;
@@ -473,7 +470,7 @@ namespace Lucene.Net.Tartarus.Snowball
             return adjustment;
         }
 
-        protected void slice_check()
+        protected virtual void SliceCheck()
         {
             if (m_bra < 0 ||
                 m_bra > m_ket ||
@@ -489,35 +486,37 @@ namespace Lucene.Net.Tartarus.Snowball
             }
         }
 
-        protected void slice_from(string s)
+        protected virtual void SliceFrom(string s)
         {
-            slice_check();
-            replace_s(m_bra, m_ket, s);
+            SliceCheck();
+            ReplaceS(m_bra, m_ket, s);
         }
 
-        protected void slice_del()
+        protected virtual void SliceDel()
         {
-            slice_from("");
+            SliceFrom("");
         }
 
-        protected void insert(int c_bra, int c_ket, string s)
+        protected virtual void Insert(int c_bra, int c_ket, string s)
         {
-            int adjustment = replace_s(c_bra, c_ket, s);
+            int adjustment = ReplaceS(c_bra, c_ket, s);
             if (c_bra <= m_bra) m_bra += adjustment;
             if (c_bra <= m_ket) m_ket += adjustment;
         }
 
-        /* Copy the slice into the supplied StringBuffer */
-        protected StringBuilder slice_to(StringBuilder s)
+        /// <summary>
+        /// Copy the slice into the supplied <see cref="StringBuilder"/>
+        /// </summary>
+        protected virtual StringBuilder SliceTo(StringBuilder s)
         {
-            slice_check();
+            SliceCheck();
             int len = m_ket - m_bra;
             s.Length = 0;
             s.Append(m_current, m_bra, len);
             return s;
         }
 
-        protected StringBuilder assign_to(StringBuilder s)
+        protected virtual StringBuilder AssignTo(StringBuilder s)
         {
             s.Length = 0;
             s.Append(m_current, 0, m_limit);


Mime
View raw message