Skip to content

Commit e6dd61a

Browse files
authored
misc: fix spelling (#1365)
1 parent cba1a56 commit e6dd61a

21 files changed

Lines changed: 406 additions & 424 deletions

File tree

.build/psake/public/Exec.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function Exec {
44
Helper function for executing command-line programs.
55
66
.DESCRIPTION
7-
This is a helper function that runs a scriptblock and checks the PS variable $lastexitcode to see if an error occcured.
7+
This is a helper function that runs a scriptblock and checks the PS variable $lastexitcode to see if an error occurred.
88
If an error is detected then an exception is thrown.
99
This function allows you to run command-line programs without having to explicitly check fthe $lastexitcode variable.
1010

.build/psake/public/Properties.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function Properties {
44
Define a scriptblock that contains assignments to variables that will be available to all tasks in the build script
55
66
.DESCRIPTION
7-
A build script may declare a "Properies" function which allows you to define variables that will be available to all the "Task" functions in the build script.
7+
A build script may declare a "Properties" function which allows you to define variables that will be available to all the "Task" functions in the build script.
88
99
.PARAMETER properties
1010
The script block containing all the variable assignment statements

.github/linters/codespell.txt

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ nonexistant
223223
noone
224224
notin
225225
nowe
226-
occcured
227226
occurances
228227
occured
229228
oder
@@ -232,15 +231,12 @@ oint
232231
ois
233232
oje
234233
olt
235-
ommitted
236234
ond
237235
ons
238236
ony
239-
oppertunity
240237
ore
241238
oriente
242239
ot
243-
othewise
244240
overide
245241
overriden
246242
ovewrite
@@ -250,27 +246,18 @@ pard
250246
parms
251247
patten
252248
patter
253-
perforamance
254-
perfromance
255-
placehoder
256-
plaforms
257249
pluse
258250
pont
259251
posin
260252
pre-pended
261253
pres
262254
prevend
263-
previoulsy
264255
probablistic
265256
profissional
266257
profund
267258
programer
268259
pronounciation
269-
properies
270260
propery
271-
propeties
272-
propety
273-
publised
274261
querys
275262
ques
276263
quries
@@ -280,7 +267,6 @@ ream
280267
reasearch
281268
recipies
282269
refering
283-
refrenced
284270
relativly
285271
releae
286272
repot
@@ -337,7 +323,6 @@ thi
337323
thie
338324
thier
339325
this'd
340-
thown
341326
ths
342327
tittle
343328
tje
@@ -378,7 +363,4 @@ withe
378363
wither
379364
wont
380365
worstcase
381-
wouldnt
382-
wraping
383366
wroth
384-
youself

CHANGES.txt

Lines changed: 384 additions & 384 deletions
Large diffs are not rendered by default.

src/Lucene.Net.Analysis.Common/Analysis/Snowball/danish_stop.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ hvor | where
6060
eller | or
6161
hvad | what
6262
skal | must/shall etc.
63-
selv | myself/youself/herself/ourselves etc., even
63+
selv | myself/yourself/herself/ourselves etc., even
6464
her | here
6565
alle | all/everyone/everybody etc.
6666
vil | will (verb)

src/Lucene.Net.Benchmark/ByTask/Tasks/PerfTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public abstract class PerfTask : IDisposable // LUCENENET specific: Not implemen
6363

6464
private readonly PerfRunData runData;
6565

66-
// propeties that all tasks have
66+
// properties that all tasks have
6767
private string name;
6868
private int depth = 0;
6969
protected int m_logStep;

src/Lucene.Net.Facet/Taxonomy/WriterCache/LabelToOrdinal.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public virtual int GetNextOrdinal()
6161
/// <summary>
6262
/// Adds a new label if its not yet in the table.
6363
/// Throws an <see cref="ArgumentException"/> if the same label with
64-
/// a different ordinal was previoulsy added to this table.
64+
/// a different ordinal was previously added to this table.
6565
/// </summary>
6666
public abstract void AddLabel(FacetLabel label, int ordinal);
6767

src/Lucene.Net.Misc/Misc/SweetSpotSimilarity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace Lucene.Net.Misc
3737
/// subclasses can choose between.
3838
/// </para>
3939
/// </summary>
40-
/// <a href="doc-files/ss.gnuplot">A Gnuplot file used to generate some of the visualizations refrenced from each function.</a>
40+
/// <a href="doc-files/ss.gnuplot">A Gnuplot file used to generate some of the visualizations referenced from each function.</a>
4141
public class SweetSpotSimilarity : DefaultSimilarity
4242
{
4343
private int ln_min = 1;

src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ protected override void Dispose(bool disposing)
998998
}
999999

10001000
// its possible we cannot delete the segments_N on windows if someone has it open and
1001-
// maybe other files too, depending on timing. normally someone on windows wouldnt have
1001+
// maybe other files too, depending on timing. normally someone on Windows wouldn't have
10021002
// an issue (IFD would nuke this stuff eventually), but we pass NoDeletionPolicy...
10031003
foreach (string file in pendingDeletions)
10041004
{

src/Lucene.Net/Codecs/Lucene40/Lucene40DocValuesFormat.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ namespace Lucene.Net.Codecs.Lucene40
108108
/// an additional sentinel ordinal+address is always written (so there are NumValues+1 ordinals). To
109109
/// determine the length, ord+1's address is looked up as well.</description></item>
110110
/// <item><description><see cref="LegacyDocValuesType.BYTES_VAR_STRAIGHT"/> in contrast to other straight
111-
/// variants uses a <c>.idx</c> file to improve lookup perfromance. In contrast to
111+
/// variants uses a <c>.idx</c> file to improve lookup performance. In contrast to
112112
/// <see cref="LegacyDocValuesType.BYTES_VAR_DEREF"/> it doesn't apply deduplication of the document values.
113113
/// </description></item>
114114
/// </list>

0 commit comments

Comments
 (0)