Skip to content

Commit fc40e25

Browse files
committed
misc: fix typos
1 parent 736554e commit fc40e25

22 files changed

Lines changed: 28 additions & 37 deletions

File tree

.build/psake/public/Invoke-psake.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function Invoke-psake {
125125
$psake.context # holds onto the current state of all variables
126126
$psake.run_by_psake_build_tester # indicates that build is being run by psake-BuildTester
127127
$psake.config_default # contains default configuration
128-
# can be overriden in psake-config.ps1 in directory with psake.psm1 or in directory with current build script
128+
# can be overridden in psake-config.ps1 in directory with psake.psm1 or in directory with current build script
129129
$psake.build_success # indicates that the current build was successful
130130
$psake.build_script_file # contains a System.IO.FileInfo for the current build script
131131
$psake.build_script_dir # contains the fully qualified path to the current build script

.github/linters/codespell.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,6 @@ ine
118118
ines
119119
informations
120120
ingenuous
121-
intance
122-
interruted
123121
isnt
124122
isse
125123
isses
@@ -158,12 +156,9 @@ nin
158156
noe
159157
noen
160158
noes
161-
non-existant
162-
nonexistant
163159
noone
164160
notin
165161
nowe
166-
occurances
167162
oder
168163
oint
169164
oje
@@ -174,8 +169,6 @@ ony
174169
ore
175170
ot
176171
overide
177-
overriden
178-
ovewrite
179172
padd
180173
pard
181174
parms
@@ -186,7 +179,6 @@ posin
186179
pre-pended
187180
pres
188181
prevend
189-
probablistic
190182
programer
191183
pronounciation
192184
querys
@@ -200,7 +192,6 @@ re-using
200192
ream
201193
reasearch
202194
recipies
203-
refering
204195
repot
205196
reproducability
206197
reproducable

CHANGES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4355,7 +4355,7 @@ Infrastructure
43554355
erases the directory contents, even when the directory
43564356
has already been accessed in this JVM.
43574357
- RangeQuery: Fix issue where an inclusive range query would
4358-
include the nearest term in the index above a non-existant
4358+
include the nearest term in the index above a non-existent
43594359
specified upper term.
43604360
- SegmentTermEnum: Fix NullPointerException in clone() method
43614361
when the Term is null.

src/Lucene.Net.Analysis.Common/Analysis/Pattern/PatternReplaceFilter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Lucene.Net.Analysis.Pattern
2424

2525
/// <summary>
2626
/// A TokenFilter which applies a <see cref="Regex"/> to each token in the stream,
27-
/// replacing match occurances with the specified replacement string.
27+
/// replacing match occurrences with the specified replacement string.
2828
///
2929
/// <para>
3030
/// <b>Note:</b> Depending on the input and the pattern used and the input
@@ -41,7 +41,7 @@ public sealed class PatternReplaceFilter : TokenFilter
4141
private readonly Regex pattern;
4242

4343
/// <summary>
44-
/// Constructs an instance to replace either the first, or all occurances
44+
/// Constructs an instance to replace either the first, or all occurrences
4545
/// </summary>
4646
/// <param name="in"> the <see cref="TokenStream"/> to process </param>
4747
/// <param name="pattern"> the pattern (a <see cref="Regex"/> object) to apply to each <see cref="Token"/> </param>

src/Lucene.Net.Analysis.ICU/Analysis/Icu/Segmentation/DefaultICUTokenizerConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public class DefaultICUTokenizerConfig : ICUTokenizerConfig
6161
/// the default breakiterators in use. these can be expensive to
6262
/// instantiate, cheap to clone.
6363
/// </summary>
64-
// we keep the cjk breaking separate, thats because it cannot be customized (because dictionary
64+
// we keep the cjk breaking separate, that's because it cannot be customized (because dictionary
6565
// is only triggered when kind = WORD, but kind = LINE by default and we have no non-evil way to change it)
6666
private static readonly BreakIterator cjkBreakIterator = BreakIterator.GetWordInstance(UCultureInfo.InvariantCulture);
6767

src/Lucene.Net.Analysis.Kuromoji/Tools/TokenInfoDictionaryBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public virtual TokenInfoDictionaryWriter BuildDictionary(IList<string> csvFiles)
171171
/// 4-9 - pos
172172
/// 10 - base form
173173
/// 11 - reading
174-
/// 12 - pronounciation
174+
/// 12 - pronunciation
175175
///
176176
/// UniDic features
177177
///

src/Lucene.Net.Facet/Taxonomy/Directory/DirectoryTaxonomyWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ public virtual int GetParent(int ordinal)
977977
{
978978
EnsureOpen();
979979
// Note: the following if() just enforces that a user can never ask
980-
// for the parent of a nonexistant category - even if the parent array
980+
// for the parent of a nonexistent category - even if the parent array
981981
// was allocated bigger than it really needs to be.
982982
if (ordinal >= nextID)
983983
// LUCENENET specific: Changed exception type thrown to be consistent with guard clauses in .NET

src/Lucene.Net.Grouping/AbstractAllGroupHeadsCollector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ protected AbstractAllGroupHeadsCollector_GroupHead(/*TGroupValue groupValue,*/ i
200200
/// <summary>
201201
/// LUCENENET specific class used to reference an
202202
/// <see cref="AbstractAllGroupHeadsCollector{GH}"/> subclass
203-
/// without refering to its generic closing type.
203+
/// without referring to its generic closing type.
204204
/// </summary>
205205
public abstract class AbstractAllGroupHeadsCollector : ICollector
206206
{

src/Lucene.Net.Misc/Document/LazyDocument.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public LazyDocument(IndexReader reader, int docID)
5656
/// <para>
5757
/// <b>NOTE:</b> This method must be called once for each value of the field
5858
/// name specified in sequence that the values exist. This method may not be
59-
/// used to generate multiple, lazy, IndexableField instances refering to
59+
/// used to generate multiple, lazy, IndexableField instances referring to
6060
/// the same underlying IndexableField instance.
6161
/// </para>
6262
/// <para>

src/Lucene.Net.Replicator/ReplicationClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public override void Run()
108108
}
109109
catch (Exception e) when (e.IsInterruptedException())
110110
{
111-
// if we were interruted, somebody wants to terminate us, so just
111+
// if we were interrupted, somebody wants to terminate us, so just
112112
// throw the exception further.
113113
Thread.CurrentThread.Interrupt();
114114
throw new Util.ThreadInterruptedException(e);

0 commit comments

Comments
 (0)