Skip to content

Commit fd7ed5c

Browse files
authored
misc: fix typos (#1385)
1 parent 0bd234d commit fd7ed5c

23 files changed

Lines changed: 28 additions & 48 deletions

File tree

.github/linters/codespell.txt

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,13 @@ classs
4747
collapsable
4848
commend
4949
commun
50-
comparision
51-
compatability
52-
compatibity
53-
confguration
5450
connexion
5551
contro
5652
convertable
5753
conveyer
5854
coo
5955
corelate
6056
corespondent
61-
correcty
6257
corse
6358
countr
6459
covert
@@ -72,7 +67,6 @@ deines
7267
dependant
7368
despatch
7469
despatches
75-
diposing
7670
discreet
7771
discus
7872
displaing
@@ -120,24 +114,17 @@ idenitifies
120114
identifer
121115
iif
122116
imbed
123-
implementatation
124117
implementor
125118
implementors
126-
implmeneted
127-
improvment
128-
imrovements
129119
inate
130120
incase
131121
indexin
132122
ine
133123
ines
134124
informations
135125
ingenuous
136-
innaccuracy
137-
instace
138126
instaed
139127
intance
140-
interger
141128
interruted
142129
isnt
143130
isse
@@ -151,16 +138,13 @@ lama
151138
lief
152139
loner
153140
longwinded
154-
maching
155141
maka
156142
makin
157-
malicous
158143
mane
159144
mange
160145
manger
161146
matchs
162147
maxium
163-
maxumum
164148
ment
165149
meny
166150
meu
@@ -169,7 +153,6 @@ millenium
169153
millepede
170154
mimicing
171155
mimicks
172-
mininum
173156
mis
174157
mot
175158
msbuid
@@ -179,7 +162,6 @@ nam
179162
nce
180163
nd
181164
ned
182-
nessesary
183165
nin
184166
noe
185167
noen
@@ -237,7 +219,6 @@ reproducability
237219
reproducable
238220
rime
239221
rouge
240-
rougly
241222
rute
242223
sate
243224
sav
@@ -249,7 +230,6 @@ seperate
249230
seperated
250231
seperator
251232
ser
252-
serialzation
253233
sie
254234
sightly
255235
similiarty

CHANGES.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ Improvement
290290
• Lucene.Net.Documents.Field: Added NumericType property that returns an enum so the Field type can be determined without boxing/unboxing.
291291
• Lucene.Net.Documents.Field: Added extension methods GetXXXValueOrDefault() to easily retrieve the numeric value if it is not a
292292
concern that it could be null.
293-
• BREAKING: Lucene.Net.Facet.Taxonomy.WriterCache.CharBlockArray: Refactored to use BinaryReader/BinaryWriter for serialzation
293+
• BREAKING: Lucene.Net.Facet.Taxonomy.WriterCache.CharBlockArray: Refactored to use BinaryReader/BinaryWriter for serialization
294294
and eliminated the 2 serialization support classes StreamUtils and CharBlockArrayConverter
295295
• BREAKING: Removed indescriminate use of [Serializable] and chose specific targets to make serializable,
296296
namely types that maintain a single value, collection, or array.
@@ -433,7 +433,7 @@ Bug
433433
•[LUCENENET-500] - Lucene fails to run in medium trust ASP.NET Application
434434

435435
Improvement
436-
•[LUCENENET-179] - SnowballFilter speed improvment
436+
•[LUCENENET-179] - SnowballFilter speed improvement
437437
•[LUCENENET-407] - Signing the assembly
438438
•[LUCENENET-408] - Mark assembly as CLS compliant; make AlreadyClosedException serializable
439439
•[LUCENENET-466] - optimisation for the GermanStemmer.vb‏
@@ -1472,7 +1472,7 @@ Optimizations
14721472

14731473
Documentation
14741474

1475-
* LUCENE-1908: Scoring documentation imrovements in Similarity javadocs.
1475+
* LUCENE-1908: Scoring documentation improvements in Similarity javadocs.
14761476
(Mark Miller, Shai Erera, Ted Dunning, Jiri Kuhn, Marvin Humphrey, Doron Cohen)
14771477

14781478
* LUCENE-1872: NumericField javadoc improvements

build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# -t - Run the tests.
4343
#
4444
# --maximum-parallel-jobs
45-
# -mp - Set the maxumum number of parallel jobs to run during testing. If not supplied, the default is 8.
45+
# -mp - Set the maximum number of parallel jobs to run during testing. If not supplied, the default is 8.
4646
#
4747
# All options are case insensitive.
4848
#

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ GOTO endcommentblock
4343
:: -t - Run the tests.
4444
::
4545
:: --maximum-parallel-jobs
46-
:: -mp - Set the maxumum number of parallel jobs to run during testing. If not supplied, the default is 8.
46+
:: -mp - Set the maximum number of parallel jobs to run during testing. If not supplied, the default is 8.
4747
::
4848
:: All options are case insensitive.
4949
::

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ public override SeekStatus SeekCeil(BytesRef text)
803803
else if (Term.Equals(text))
804804
{
805805
// TODO: add SeekStatus to FSTEnum like in https://issues.apache.org/jira/browse/LUCENE-3729
806-
// to remove this comparision?
806+
// to remove this comparison?
807807
return SeekStatus.FOUND;
808808
}
809809
else

src/Lucene.Net.Demo/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ To __search the index__ type:
6363

6464
You'll be prompted for a query. Type in a gibberish or made up word (for example:
6565
"supercalifragilisticexpialidocious").
66-
You'll see that there are no maching results in the lucene source code.
66+
You'll see that there are no matching results in the lucene source code.
6767
Now try entering the word "string". That should return a whole bunch
6868
of documents. The results will page at every tenth result and ask you whether
6969
you want more results.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ protected override TaxonomyReader DoOpenIfChanged()
253253
DirectoryTaxonomyReader newtr;
254254
if (recreated)
255255
{
256-
// if recreated, do not reuse anything from this instace. the information
256+
// if recreated, do not reuse anything from this instance. the information
257257
// will be lazily computed by the new instance when needed.
258258
newtr = new DirectoryTaxonomyReader(r2, taxoWriter, null, null, null);
259259
}

src/Lucene.Net.Facet/Taxonomy/package.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ Facets are defined using a hierarchy of categories, known as a _Taxonomy_. For e
4040

4141
* 2009
4242

43-
The _Taxonomy_ translates category-paths into interger identifiers (often termed _ordinals_) and vice versa.
43+
The _Taxonomy_ translates category-paths into integer identifiers (often termed _ordinals_) and vice versa.
4444
The category `Author/Mark Twain` adds two nodes to the taxonomy: `Author` and `Author/Mark Twain`, each is assigned a different ordinal. The taxonomy maintains the invariant that a node always has an ordinal that is < all its children.

src/Lucene.Net.Replicator/package.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ public class AspNetCoreReplicationResponse : IReplicationResponse
143143

144144
#### ASP.NET Core Utility Extension Method
145145

146-
This part is not nessesary, however by providing a extension method as a overload to the ReplicatorService Perform method
146+
This part is not necessary, however by providing a extension method as a overload to the ReplicatorService Perform method
147147
that instead takes the ASP.NET Core HttpRequest and HttpResponse response objects, it's easier to call the ReplicatorService
148-
from either ASP.NET Core MVC controllers, inside of middleare or for the absolute minimal solution directly in the delegate parameter of a IApplicationBuilder.Run() method.
148+
from either ASP.NET Core MVC controllers, inside of middleware or for the absolute minimal solution directly in the delegate parameter of a IApplicationBuilder.Run() method.
149149

150150
```cs
151151
public static class AspNetCoreReplicationServiceExtentions

src/Lucene.Net.Suggest/Suggest/FileDictionary.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public FileDictionary(TextReader reader)
9090

9191
/// <summary>
9292
/// Creates a dictionary based on a reader.
93-
/// Using <paramref name="fieldDelimiter"/> to seperate out the
93+
/// Using <paramref name="fieldDelimiter"/> to separate out the
9494
/// fields in a line.
9595
/// </summary>
9696
public FileDictionary(TextReader reader, string fieldDelimiter)
@@ -101,7 +101,7 @@ public FileDictionary(TextReader reader, string fieldDelimiter)
101101

102102
/// <summary>
103103
/// Creates a dictionary based on an inputstream.
104-
/// Using <paramref name="fieldDelimiter"/> to seperate out the
104+
/// Using <paramref name="fieldDelimiter"/> to separate out the
105105
/// fields in a line.
106106
/// <para>
107107
/// NOTE: content is treated as UTF-8

0 commit comments

Comments
 (0)