Skip to content

Commit 28df163

Browse files
committed
misc: fix spelling and clean up
General spelling fixes and some minor editor whitespace auto clean up
1 parent fa77f63 commit 28df163

31 files changed

Lines changed: 70 additions & 81 deletions

.github/linters/codespell.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ alow
2727
alpha-numeric
2828
alredy
2929
als
30-
alternativley
3130
ambiguos
3231
ameba
3332
americ
@@ -331,7 +330,6 @@ previoulsy
331330
probablistic
332331
profissional
333332
profund
334-
programatically
335333
programer
336334
pronounciation
337335
properies
@@ -356,11 +354,6 @@ releae
356354
repot
357355
reproducability
358356
reproducable
359-
requries
360-
resoruces
361-
respnsibility
362-
returend
363-
returing
364357
re-use
365358
re-used
366359
re-uses
@@ -405,7 +398,6 @@ sting
405398
straightaway
406399
stye
407400
subseqence
408-
succesfully
409401
sucess
410402
suppresed
411403
supress
@@ -438,10 +430,7 @@ tthe
438430
udo
439431
udpate
440432
ue
441-
ugprade
442433
unexpexted
443-
unknwown
444-
unkown
445434
unser
446435
unter
447436
useable

src/Lucene.Net.Analysis.Common/Analysis/CharFilter/HTMLStripCharFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30505,7 +30505,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
3050530505

3050630506
/// <summary>error messages for the codes above</summary>
3050730507
private static readonly string[] ZZ_ERROR_MSG = {
30508-
"Unkown internal scanner error",
30508+
"Unknown internal scanner error",
3050930509
"Error: could not match input",
3051030510
"Error: pushback value was too large"
3051130511
};

src/Lucene.Net.Analysis.Common/Analysis/En/PorterStemmer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Porter stemmer in .NET. The original paper is in
3333
See also http://www.tartarus.org/~martin/PorterStemmer/index.html
3434
3535
Bug 1 (reported by Gonzalo Parra 16/10/99) fixed as marked below.
36-
Tthe words 'aed', 'eed', 'oed' leave k at 'a' for step 3, and b[k-1]
36+
The words 'aed', 'eed', 'oed' leave k at 'a' for step 3, and b[k-1]
3737
is then out outside the bounds of b.
3838
3939
Similarly,

src/Lucene.Net.Analysis.Common/Analysis/Standard/ClassicTokenizerImpl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
278278

279279
/* error messages for the codes above */
280280
private static readonly string[] ZZ_ERROR_MSG = {
281-
"Unkown internal scanner error",
281+
"Unknown internal scanner error",
282282
"Error: could not match input",
283283
"Error: pushback value was too large"
284284
};

src/Lucene.Net.Analysis.Common/Analysis/Standard/StandardTokenizerImpl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
864864

865865
/* error messages for the codes above */
866866
private static readonly string[] ZZ_ERROR_MSG = {
867-
"Unkown internal scanner error",
867+
"Unknown internal scanner error",
868868
"Error: could not match input",
869869
"Error: pushback value was too large"
870870
};

src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/StandardTokenizerImpl31.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
612612

613613
/* error messages for the codes above */
614614
private static readonly string[] ZZ_ERROR_MSG = {
615-
"Unkown internal scanner error",
615+
"Unknown internal scanner error",
616616
"Error: could not match input",
617617
"Error: pushback value was too large"
618618
};

src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/UAX29URLEmailTokenizerImpl31.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3157,7 +3157,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
31573157

31583158
/// <summary>error messages for the codes above</summary>
31593159
private static readonly string[] ZZ_ERROR_MSG = {
3160-
"Unkown internal scanner error",
3160+
"Unknown internal scanner error",
31613161
"Error: could not match input",
31623162
"Error: pushback value was too large"
31633163
};

src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/StandardTokenizerImpl34.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
628628

629629
/* error messages for the codes above */
630630
private static readonly string[] ZZ_ERROR_MSG = {
631-
"Unkown internal scanner error",
631+
"Unknown internal scanner error",
632632
"Error: could not match input",
633633
"Error: pushback value was too large"
634634
};

src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/UAX29URLEmailTokenizerImpl34.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3258,7 +3258,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
32583258

32593259
/* error messages for the codes above */
32603260
private static readonly string[] ZZ_ERROR_MSG = {
3261-
"Unkown internal scanner error",
3261+
"Unknown internal scanner error",
32623262
"Error: could not match input",
32633263
"Error: pushback value was too large"
32643264
};

src/Lucene.Net.Analysis.Common/Analysis/Standard/Std36/UAX29URLEmailTokenizerImpl36.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3691,7 +3691,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
36913691

36923692
/* error messages for the codes above */
36933693
private static readonly string[] ZZ_ERROR_MSG = {
3694-
"Unkown internal scanner error",
3694+
"Unknown internal scanner error",
36953695
"Error: could not match input",
36963696
"Error: pushback value was too large"
36973697
};

0 commit comments

Comments
 (0)