Skip to content

Commit 03d58e3

Browse files
authored
misc: fix typos (apache#1388)
1 parent d7af24e commit 03d58e3

26 files changed

Lines changed: 40 additions & 56 deletions

File tree

.github/linters/codespell.txt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ despatch
6969
despatches
7070
discreet
7171
discus
72-
displaing
7372
doen
7473
dum
7574
ect
@@ -83,13 +82,11 @@ ened
8382
equest
8483
euclidian
8584
everytime
86-
faild
8785
failue
8886
fallow
8987
finis
9088
floatation
9189
fo
92-
formated
9390
formen
9491
formes
9592
fount
@@ -110,8 +107,6 @@ hendler
110107
highligh
111108
hove
112109
hte
113-
idenitifies
114-
identifer
115110
iif
116111
imbed
117112
implementor
@@ -123,7 +118,6 @@ ine
123118
ines
124119
informations
125120
ingenuous
126-
instaed
127121
intance
128122
interruted
129123
isnt
@@ -144,15 +138,13 @@ mane
144138
mange
145139
manger
146140
matchs
147-
maxium
148141
ment
149142
meny
150143
meu
151144
meus
152145
millenium
153146
millepede
154147
mimicing
155-
mimicks
156148
mis
157149
mot
158150
msbuid
@@ -173,7 +165,6 @@ notin
173165
nowe
174166
occurances
175167
oder
176-
offets
177168
oint
178169
oje
179170
olt
@@ -198,10 +189,8 @@ prevend
198189
probablistic
199190
programer
200191
pronounciation
201-
propery
202192
querys
203193
ques
204-
quries
205194
racoon
206195
raison
207196
re-use
@@ -212,8 +201,6 @@ ream
212201
reasearch
213202
recipies
214203
refering
215-
relativly
216-
releae
217204
repot
218205
reproducability
219206
reproducable
@@ -223,7 +210,6 @@ rute
223210
sate
224211
sav
225212
scrip
226-
seach
227213
selv
228214
sentances
229215
seperate
@@ -256,8 +242,6 @@ thats
256242
therefor
257243
theses
258244
thi
259-
thie
260-
this'd
261245
ths
262246
tittle
263247
tje

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ name: 'vNext$(rev:.r)' # Format for build number (will be overridden)
2525
# GenerateDocs: (Optional. Only builds documentation website if set to 'true'.)
2626
# GenerateWebsite: (Optional. Only builds lucene.net website if set to 'true'.)
2727
# IsRelease: (Optional. By default the Release job is disabled, setting this to 'true' will enable it)
28-
# GeneratePackages: (Optional. Defaults to 'true'. Setting to 'false' will cut about 1 minute from the build time by skipping packing the NuGet files and subsequent artiact upload. If ArtifactFeedID is provided or IsRelease is 'true', this setting has no effect.)
28+
# GeneratePackages: (Optional. Defaults to 'true'. Setting to 'false' will cut about 1 minute from the build time by skipping packing the NuGet files and subsequent artifact upload. If ArtifactFeedID is provided or IsRelease is 'true', this setting has no effect.)
2929

3030
# Versioning Variables
3131

@@ -660,7 +660,7 @@ stages:
660660
vmImage: 'windows-latest'
661661

662662
steps:
663-
# We checkout here because we need to publish the source code along with the binaries per Apache's releae policy
663+
# We checkout here because we need to publish the source code along with the binaries per Apache's release policy
664664
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
665665
fetchDepth: '1' # the depth of commits to ask Git to fetch
666666

src/Lucene.Net.Benchmark/ByTask/PerfRunData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public class PerfRunData : IDisposable
8585
private ITaxonomyWriter taxonomyWriter;
8686
private TaxonomyReader taxonomyReader;
8787

88-
// we use separate (identical) instances for each "read" task type, so each can iterate the quries separately.
88+
// we use separate (identical) instances for each "read" task type, so each can iterate the queries separately.
8989
private readonly IDictionary<Type, IQueryMaker> readTaskQueryMaker;
9090
private readonly Type qmkrClass;
9191

src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public class DefaultHandler : IEntityResolver, IDTDHandler, IContentHandler, IEr
5757
/// in a subclass to do special translations such as catalog lookups
5858
/// or URI redirection.
5959
/// </summary>
60-
/// <param name="publicId">The public identifer, or null if none is available.</param>
60+
/// <param name="publicId">The public identifier, or null if none is available.</param>
6161
/// <param name="systemId">The system identifier provided in the XML document.</param>
6262
/// <remarks>The new input source, or null to require the default behaviour.</remarks>
6363
/// <exception cref="IOException">If there is an error setting

src/Lucene.Net.Codecs/BlockTerms/FixedGapTermsIndexReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ public CoreFieldIndex(FieldIndexData outerInstance, long indexStart, long termsS
374374
PackedInt32s.IReaderIterator termOffsetsIter = PackedInt32s.GetReaderIterator(clone2, PackedInt32s.DEFAULT_BUFFER_SIZE);
375375

376376
// TODO: often we can get by w/ fewer bits per
377-
// value, below.. .but this'd be more complex:
377+
// value, below.. .but this would be more complex:
378378
// we'd have to try @ fewer bits and then grow
379379
// if we overflowed it.
380380

src/Lucene.Net.Codecs/Bloom/BloomFilteringPostingsFormat.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ internal void Reset(Terms delegateTerms, TermsEnum reuseDelegate)
289289

290290
private TermsEnum @delegate =>
291291
// pull the iterator only if we really need it -
292-
// this can be a relativly heavy operation depending on the
292+
// this can be a relatively heavy operation depending on the
293293
// delegate postings format and they underlying directory
294294
// (clone IndexInput)
295295
delegateTermsEnum ?? (delegateTermsEnum = _delegateTerms.GetEnumerator(_reuseDelegate));

src/Lucene.Net.Codecs/Memory/DirectPostingsFormat.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1928,7 +1928,7 @@ public override long GetCost()
19281928
}
19291929
}
19301930

1931-
// Docs + freqs + positions/offets:
1931+
// Docs + freqs + positions/offsets:
19321932
private sealed class LowFreqDocsEnum : DocsEnum
19331933
{
19341934
private int[] postings;

src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingSuggester.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ public override IList<LookupResult> DoLookup(string key,
825825
// into the FST output, so we more efficiently hone
826826
// in on the exact surface-form match. Still, I
827827
// suspect very little time is spent in this linear
828-
// seach: it's bounded by how many prefix start
828+
// search: it's bounded by how many prefix start
829829
// nodes we have and the
830830
// maxSurfaceFormsPerAnalyzedForm:
831831
foreach (var completion in completions)

src/Lucene.Net.TestFramework/Search/CheckHits.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public static void CheckHitCollector(Random random, Query query, string defaultF
123123
/// </summary>
124124
/// <param name="query"> the query to test </param>
125125
/// <param name="searcher"> the searcher to test the query against </param>
126-
/// <param name="defaultFieldName"> used for displaing the query in assertion messages </param>
126+
/// <param name="defaultFieldName"> used for displaying the query in assertion messages </param>
127127
/// <param name="results"> a list of documentIds that must match the query </param>
128128
/// <seealso cref="CheckHitCollector(Random, Query, string, IndexSearcher, int[])"/>
129129
public static void DoCheckHits(Random random, Query query, string defaultFieldName, IndexSearcher searcher, int[] results)
@@ -260,7 +260,7 @@ public static string TopDocsString(TopDocs docs, int start, int end) // LUCENENE
260260
/// <seealso cref="CheckExplanations(Query, String, IndexSearcher, bool)"/>
261261
/// <param name="query"> The query to test. </param>
262262
/// <param name="searcher"> The searcher to test the query against. </param>
263-
/// <param name="defaultFieldName"> Used for displaing the query in assertion messages. </param>
263+
/// <param name="defaultFieldName"> Used for displaying the query in assertion messages. </param>
264264
public static void CheckExplanations(Query query, string defaultFieldName, IndexSearcher searcher)
265265
{
266266
CheckExplanations(query, defaultFieldName, searcher, false);
@@ -274,7 +274,7 @@ public static void CheckExplanations(Query query, string defaultFieldName, Index
274274
/// <seealso cref="ExplanationAsserter"/>
275275
/// <param name="query"> The query to test. </param>
276276
/// <param name="searcher"> The searcher to test the query against. </param>
277-
/// <param name="defaultFieldName"> Used for displaing the query in assertion messages. </param>
277+
/// <param name="defaultFieldName"> Used for displaying the query in assertion messages. </param>
278278
/// <param name="deep"> Indicates whether a deep comparison of sub-Explanation details should be executed. </param>
279279
public static void CheckExplanations(Query query, string defaultFieldName, IndexSearcher searcher, bool deep)
280280
{
@@ -435,7 +435,7 @@ public virtual void SetNextReader(AtomicReaderContext context)
435435
}
436436

437437
/// <summary>
438-
/// An <see cref="IndexSearcher"/> that implicitly checks hte explanation of every match
438+
/// An <see cref="IndexSearcher"/> that implicitly checks the explanation of every match
439439
/// whenever it executes a search.
440440
/// </summary>
441441
/// <seealso cref="ExplanationAsserter"/>

src/Lucene.Net.TestFramework/Util/TestUtil.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ public static void RandomFixedLengthUnicodeString(Random random, char[] chars, i
369369
}
370370

371371
/// <summary>
372-
/// Returns a <see cref="string"/> thats "regexish" (contains lots of operators typically found in regular expressions)
372+
/// Returns a <see cref="string"/> that's "regexish" (contains lots of operators typically found in regular expressions)
373373
/// If you call this enough times, you might get a valid regex!
374374
/// </summary>
375375
/// <param name="random">This <see cref="Random"/>.</param>
@@ -381,7 +381,7 @@ public static string RandomRegexishString(Random random) // LUCENENET: Renamed f
381381
}
382382

383383
/// <summary>
384-
/// Returns a <see cref="string"/> thats "regexish" (contains lots of operators typically found in regular expressions)
384+
/// Returns a <see cref="string"/> that's "regexish" (contains lots of operators typically found in regular expressions)
385385
/// If you call this enough times, you might get a valid regex!
386386
///
387387
/// <para/>Note: to avoid practically endless backtracking patterns we replace asterisk and plus
@@ -1040,7 +1040,7 @@ public static string RandomSubString(Random random, int wordLength, bool simple)
10401040
'\u001E',
10411041
'\u001F',
10421042
'\u0020',
1043-
// '\u0085', faild sanity check?
1043+
// '\u0085', failed sanity check?
10441044
'\u1680',
10451045
'\u180E',
10461046
'\u2000',

0 commit comments

Comments
 (0)