You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by pa...@apache.org on 2026/04/20 21:58:32 UTC

(lucenenet) branch master updated: misc: fix typos (#1270)

This is an automated email from the ASF dual-hosted git repository.

paulirwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git


The following commit(s) were added to refs/heads/master by this push:
     new dff28e78a misc: fix typos (#1270)
dff28e78a is described below

commit dff28e78a6e0aa28209d593c76c8c54ede4ae0e1
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Tue Apr 21 07:58:26 2026 +1000

    misc: fix typos (#1270)
    
    General spelling clean up
---
 .build/psake/private/Test-ModuleVersion.ps1        |  2 +-
 .github/linters/codespell.txt                      | 27 ----------------------
 .../Analysis/Compound/Hyphenation/hyphenation.dtd  |  2 +-
 .../Analysis/Core/StopFilterFactory.cs             |  2 +-
 .../Analysis/Util/FilteringTokenFilter.cs          |  2 +-
 .../Support/Sax/Ext/EntityResolver2.cs             |  2 +-
 .../SimpleText/SimpleTextSegmentInfoWriter.cs      |  2 +-
 src/Lucene.Net.Facet/DrillSidewaysScorer.cs        |  2 +-
 .../Taxonomy/WriterCache/NameIntCacheLRU.cs        |  2 +-
 .../Highlight/GradientFormatter.cs                 |  2 +-
 .../Highlight/SimpleFragmenter.cs                  |  2 +-
 src/Lucene.Net.Replicator/Revision.cs              |  2 +-
 .../Suggest/Analyzing/FreeTextSuggester.cs         |  2 +-
 .../Search/ShardSearchingTestBase.cs               |  6 ++---
 .../Support/ApiScanTestBase.cs                     |  4 ++--
 .../Support/Util/LuceneTestCase.SetUpFixture.cs    |  2 +-
 src/Lucene.Net/Document/FieldType.cs               |  2 +-
 src/Lucene.Net/Index/IndexWriter.cs                |  2 +-
 src/Lucene.Net/Search/Spans/SpanOrQuery.cs         |  2 +-
 src/Lucene.Net/Store/FSDirectory.cs                |  2 +-
 src/Lucene.Net/Store/LockStressTest.cs             |  2 +-
 src/Lucene.Net/Store/SimpleFSLockFactory.cs        |  2 +-
 .../Exceptions/ClassNotFoundException.cs           |  2 +-
 src/Lucene.Net/Support/Threading/ReentrantLock.cs  |  8 +++----
 .../Support/Threading/UninterruptableMonitor.cs    | 12 +++++-----
 .../Util/Packed/MonotonicBlockPackedWriter.cs      |  2 +-
 .../lucene-cli/SourceCode/SourceCodeExporter.cs    |  2 +-
 .../partials/title.tmpl.partial                    |  2 +-
 .../site/release-notes/version-4.8.0-beta00017.md  |  2 +-
 29 files changed, 39 insertions(+), 66 deletions(-)

diff --git a/.build/psake/private/Test-ModuleVersion.ps1 b/.build/psake/private/Test-ModuleVersion.ps1
index c1c9fb503..caf181c7b 100644
--- a/.build/psake/private/Test-ModuleVersion.ps1
+++ b/.build/psake/private/Test-ModuleVersion.ps1
@@ -24,7 +24,7 @@
     should be accepted.
 .PARAMETER lessThanVersion
     The upper bound of the version that will be accepted. This comparison should
-    be exlusive. Meaning an input version that is less than only, not equal to
+    be exclusive. Meaning an input version that is less than only, not equal to
     this version, will be accepted.
 .INPUTS
     A $currentVersion of type [System.Version] or a convertable string.
diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt
index 964d90f17..9cb48d2a0 100644
--- a/.github/linters/codespell.txt
+++ b/.github/linters/codespell.txt
@@ -35,33 +35,22 @@ analyer
 andd
 ane
 anothers
-appraently
 appropropriate
 apprpriate
 aquire
-aquired
 arbitarily
 arent
 arguents
 assemblie
-atempt
 ative
 atleast
 atmost
-attibute
-attibutes
-attirbute
 autor
-availble
 avarage
 avove
 bale
 becaus
-begining
 bellow
-betweeen
-betwen
-beween
 bloc
 blockin
 boostrap
@@ -69,10 +58,8 @@ brunch
 bu
 bufferin
 calender
-callibrate
 cant
 capela
-captial
 categorie
 celle
 celles
@@ -107,7 +94,6 @@ corelate
 corespondent
 correcty
 corse
-couldnt
 countr
 covert
 cunt
@@ -133,35 +119,22 @@ doen
 doens't
 doesnt
 dum
-duplcate
 ect
 ede
-elemnts
 eles
 elipses
-elminate
-embeded
 empress
 endcodes
 ende
 ened
 entend
-enviornment
 equest
-esnure
-essentually
 euclidian
 everytime
-exaclty
-excepetion
-exeception
 execeptions
-exlusive
 exmaple
 explicitely
 explicity
-explict
-explictly
 faild
 failue
 fallow
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Compound/Hyphenation/hyphenation.dtd b/src/Lucene.Net.Analysis.Common/Analysis/Compound/Hyphenation/hyphenation.dtd
index 083c2bd8e..c42a6b1bd 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Compound/Hyphenation/hyphenation.dtd
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Compound/Hyphenation/hyphenation.dtd
@@ -54,7 +54,7 @@
 <!-- The hyphenation patterns, space separated. A pattern is made of 'equivalent'
      characters as described before, between any two word characters a digit
      in the range 0 to 9 may be specified. The absence of a digit is equivalent
-     to zero. The '.' character is reserved to indicate begining or ending
+     to zero. The '.' character is reserved to indicate beginning or ending
      of words. -->
 <!ELEMENT patterns (#PCDATA)>
 
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Core/StopFilterFactory.cs b/src/Lucene.Net.Analysis.Common/Analysis/Core/StopFilterFactory.cs
index cd7e8a144..f781e7151 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Core/StopFilterFactory.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Core/StopFilterFactory.cs
@@ -56,7 +56,7 @@ namespace Lucene.Net.Analysis.Core
     /// <list type="bullet">
     ///  <item><description><c>wordset</c> - This is the default format, which supports one word per
     ///      line (including any intra-word whitespace) and allows whole line comments
-    ///      begining with the "#" character.  Blank lines are ignored.  See
+    ///      beginning with the "#" character.  Blank lines are ignored.  See
     ///      <see cref="WordlistLoader.GetLines"/> for details.
     ///  </description></item>
     ///  <item><description><c>snowball</c> - This format allows for multiple words specified on each
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Util/FilteringTokenFilter.cs b/src/Lucene.Net.Analysis.Common/Analysis/Util/FilteringTokenFilter.cs
index 365fe5e17..d99636dba 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Util/FilteringTokenFilter.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Util/FilteringTokenFilter.cs
@@ -145,7 +145,7 @@ public override void Reset()
         /// token is incremented.
         /// </summary>
         // LUCENENET NOTE: Intentionally made this a setter method instead of a property
-        // because it is obsolete and there is no way to add the attibute to the setter but not
+        // because it is obsolete and there is no way to add the attribute to the setter but not
         // the getter of a property. Since it is obsolete, this method will eventually be removed
         // anyway.
         [Obsolete("enablePositionIncrements=false is not supported anymore as of Lucene 4.4")]
diff --git a/src/Lucene.Net.Benchmark/Support/Sax/Ext/EntityResolver2.cs b/src/Lucene.Net.Benchmark/Support/Sax/Ext/EntityResolver2.cs
index 1a58b36c9..b8c2cab05 100644
--- a/src/Lucene.Net.Benchmark/Support/Sax/Ext/EntityResolver2.cs
+++ b/src/Lucene.Net.Benchmark/Support/Sax/Ext/EntityResolver2.cs
@@ -95,7 +95,7 @@ public interface IEntityResolver2 : IEntityResolver
         /// other reasons adopt a "no DTDs" policy.
         /// Non - validation motives include forcing documents to include DTDs so
         /// that attributes are handled consistently.
-        /// For example, an XPath processor needs to know which attibutes have
+        /// For example, an XPath processor needs to know which attributes have
         /// type "ID" before it can process a widely used type of reference.
         /// <para/>
         /// <strong> Warning:</strong> Returning an external subset modifies
diff --git a/src/Lucene.Net.Codecs/SimpleText/SimpleTextSegmentInfoWriter.cs b/src/Lucene.Net.Codecs/SimpleText/SimpleTextSegmentInfoWriter.cs
index 276154391..a721f7a02 100644
--- a/src/Lucene.Net.Codecs/SimpleText/SimpleTextSegmentInfoWriter.cs
+++ b/src/Lucene.Net.Codecs/SimpleText/SimpleTextSegmentInfoWriter.cs
@@ -121,7 +121,7 @@ public override void Write(Directory dir, SegmentInfo si, FieldInfos fis, IOCont
                     }
                     catch (Exception t) when (t.IsThrowable())
                     {
-                        //Esnure we throw original exeception
+                        //Ensure we throw original exception
                     }
                 }
                 else
diff --git a/src/Lucene.Net.Facet/DrillSidewaysScorer.cs b/src/Lucene.Net.Facet/DrillSidewaysScorer.cs
index 2484f4647..c4cbf7e69 100644
--- a/src/Lucene.Net.Facet/DrillSidewaysScorer.cs
+++ b/src/Lucene.Net.Facet/DrillSidewaysScorer.cs
@@ -227,7 +227,7 @@ public override bool Score(ICollector collector, int maxDoc)
 
                 // TODO: for the "non-costly Bits" we really should
                 // have passed them down as acceptDocs, but
-                // unfortunately we cannot distinguish today betwen
+                // unfortunately we cannot distinguish today between
                 // "bits() is so costly that you should apply it last"
                 // from "bits() is so cheap that you should apply it
                 // everywhere down low"
diff --git a/src/Lucene.Net.Facet/Taxonomy/WriterCache/NameIntCacheLRU.cs b/src/Lucene.Net.Facet/Taxonomy/WriterCache/NameIntCacheLRU.cs
index 9ebe1104f..3431dfb68 100644
--- a/src/Lucene.Net.Facet/Taxonomy/WriterCache/NameIntCacheLRU.cs
+++ b/src/Lucene.Net.Facet/Taxonomy/WriterCache/NameIntCacheLRU.cs
@@ -90,7 +90,7 @@ public interface INameInt32CacheLru
 
     }
 
-    // LUCENENET specific - defined interface so we can share public and internal members betwen cache
+    // LUCENENET specific - defined interface so we can share public and internal members between cache
     // instances.
     internal interface IInternalNameInt32CacheLru : INameInt32CacheLru
     {
diff --git a/src/Lucene.Net.Highlighter/Highlight/GradientFormatter.cs b/src/Lucene.Net.Highlighter/Highlight/GradientFormatter.cs
index ab80bfecc..a122179bd 100644
--- a/src/Lucene.Net.Highlighter/Highlight/GradientFormatter.cs
+++ b/src/Lucene.Net.Highlighter/Highlight/GradientFormatter.cs
@@ -38,7 +38,7 @@ public class GradientFormatter : IFormatter
         /// <summary> Sets the color range for the IDF scores</summary>
         /// <param name="maxScore">
         /// The score (and above) displayed as maxColor (See <see cref="QueryScorer.MaxTermWeight"/>
-        /// which can be used to callibrate scoring scale)
+        /// which can be used to calibrate scoring scale)
         /// </param>
         /// <param name="minForegroundColor">
         /// The hex color used for representing IDF scores of zero eg
diff --git a/src/Lucene.Net.Highlighter/Highlight/SimpleFragmenter.cs b/src/Lucene.Net.Highlighter/Highlight/SimpleFragmenter.cs
index 84e5a1afd..6ae17a2e4 100644
--- a/src/Lucene.Net.Highlighter/Highlight/SimpleFragmenter.cs
+++ b/src/Lucene.Net.Highlighter/Highlight/SimpleFragmenter.cs
@@ -37,7 +37,7 @@ public class SimpleFragmenter : IFragmenter
         public SimpleFragmenter(int fragmentSize)
         {
             // LUCENENET NOTE: Must not set the property directly
-            // in case the user decides to override it and produce an excepetion.
+            // in case the user decides to override it and produce an exception.
             // Therefore, an auto-implemented property is unacceptable.
             this.fragmentSize = fragmentSize;
         }
diff --git a/src/Lucene.Net.Replicator/Revision.cs b/src/Lucene.Net.Replicator/Revision.cs
index ba353c336..e35a12b15 100644
--- a/src/Lucene.Net.Replicator/Revision.cs
+++ b/src/Lucene.Net.Replicator/Revision.cs
@@ -28,7 +28,7 @@ namespace Lucene.Net.Replicator
     /// revision will contain files from a single source. However, some applications
     /// may require to treat a collection of indexes as a single entity so that the
     /// files from all sources are replicated together, to guarantee consistency
-    /// beween them. For example, an application which indexes facets will need to
+    /// between them. For example, an application which indexes facets will need to
     /// replicate both the search and taxonomy indexes together, to guarantee that
     /// they match at the client side.
     /// </summary>
diff --git a/src/Lucene.Net.Suggest/Suggest/Analyzing/FreeTextSuggester.cs b/src/Lucene.Net.Suggest/Suggest/Analyzing/FreeTextSuggester.cs
index 06abd304d..503314358 100644
--- a/src/Lucene.Net.Suggest/Suggest/Analyzing/FreeTextSuggester.cs
+++ b/src/Lucene.Net.Suggest/Suggest/Analyzing/FreeTextSuggester.cs
@@ -542,7 +542,7 @@ private int CountGrams(BytesRef token)
                 }
 
                 // Carefully fill last tokens with _ tokens;
-                // ShingleFilter appraently won't emit "only hole"
+                // ShingleFilter apparently won't emit "only hole"
                 // tokens:
                 int endPosInc = posIncAtt.PositionIncrement;
 
diff --git a/src/Lucene.Net.TestFramework/Search/ShardSearchingTestBase.cs b/src/Lucene.Net.TestFramework/Search/ShardSearchingTestBase.cs
index b0352d2c7..15308133b 100644
--- a/src/Lucene.Net.TestFramework/Search/ShardSearchingTestBase.cs
+++ b/src/Lucene.Net.TestFramework/Search/ShardSearchingTestBase.cs
@@ -457,7 +457,7 @@ public override TopDocs Search(Query query, int numHits, CancellationToken cance
                         if (nodeID == MyNodeID)
                         {
                             // My node; run using local shard searcher we
-                            // already aquired:
+                            // already acquired:
                             shardHits[nodeID] = LocalSearch(query, numHits, cancellationToken);
                         }
                         else
@@ -521,7 +521,7 @@ public override TopDocs SearchAfter(ScoreDoc after, Query query, int numHits, Ca
                         if (nodeID == MyNodeID)
                         {
                             // My node; run using local shard searcher we
-                            // already aquired:
+                            // already acquired:
                             shardHits[nodeID] = LocalSearchAfter(shardAfter, query, numHits, cancellationToken);
                         }
                         else
@@ -549,7 +549,7 @@ public override TopFieldDocs Search(Query query, int numHits, Sort sort, Cancell
                         if (nodeID == MyNodeID)
                         {
                             // My node; run using local shard searcher we
-                            // already aquired:
+                            // already acquired:
                             shardHits[nodeID] = LocalSearch(query, numHits, sort, cancellationToken);
                         }
                         else
diff --git a/src/Lucene.Net.TestFramework/Support/ApiScanTestBase.cs b/src/Lucene.Net.TestFramework/Support/ApiScanTestBase.cs
index 6f2d68e49..0fd502cdf 100644
--- a/src/Lucene.Net.TestFramework/Support/ApiScanTestBase.cs
+++ b/src/Lucene.Net.TestFramework/Support/ApiScanTestBase.cs
@@ -56,7 +56,7 @@ public abstract class ApiScanTestBase : LuceneTestCase
         private static readonly Regex MethodParameterName = new Regex("^[a-z](?:[a-zA-Z0-9_]*[a-zA-Z0-9])?$", RegexOptions.Compiled);
 
         /// <summary>
-        /// Interfaces must begin with "I" followed by another captial letter. Note this includes a
+        /// Interfaces must begin with "I" followed by another capital letter. Note this includes a
         /// fix for generic interface names, that end with `{number}.
         /// </summary>
         private static readonly Regex InterfaceName = new Regex("^I[A-Z][a-zA-Z0-9_]*(?:`\\d+)?$", RegexOptions.Compiled);
@@ -201,7 +201,7 @@ public virtual void TestClassNames(Type typeFromTargetAssembly)
 
             Assert.IsFalse(names.Any(), names.Count() + " invalid class names detected. " +
                 "Class names must be Pascal case, but may not follow the interface naming " +
-                "convention of captial 'I' followed by another capital letter.");
+                "convention of capital 'I' followed by another capital letter.");
         }
 
         //[Test, LuceneNetSpecific]
diff --git a/src/Lucene.Net.TestFramework/Support/Util/LuceneTestCase.SetUpFixture.cs b/src/Lucene.Net.TestFramework/Support/Util/LuceneTestCase.SetUpFixture.cs
index b1d706a90..f54c5e979 100644
--- a/src/Lucene.Net.TestFramework/Support/Util/LuceneTestCase.SetUpFixture.cs
+++ b/src/Lucene.Net.TestFramework/Support/Util/LuceneTestCase.SetUpFixture.cs
@@ -60,7 +60,7 @@ private static LuceneTestFrameworkInitializer Initialize(Test setUpFixture, Test
 
                 // Allow the factories to be instantiated first. We do this to allow a
                 // dependency injection step, which can only be done once. No random context
-                // is availble here because we need to load the SystemProperties setup here before
+                // is available here because we need to load the SystemProperties setup here before
                 // we can read them.
                 initializer.DoInitialize();
 
diff --git a/src/Lucene.Net/Document/FieldType.cs b/src/Lucene.Net/Document/FieldType.cs
index 19804295d..8b6c69844 100644
--- a/src/Lucene.Net/Document/FieldType.cs
+++ b/src/Lucene.Net/Document/FieldType.cs
@@ -320,7 +320,7 @@ public override sealed string ToString()
                 if (indexOptions != IndexOptions.DOCS_AND_FREQS_AND_POSITIONS)
                 {
                     result.Append(",indexOptions=");
-                    // LUCENENET: duplcate what would happen if you print a null indexOptions in Java
+                    // LUCENENET: duplicate what would happen if you print a null indexOptions in Java
                     result.Append(indexOptions != IndexOptions.NONE ? indexOptions.ToString() : string.Empty);
                 }
                 if (numericType != NumericType.NONE)
diff --git a/src/Lucene.Net/Index/IndexWriter.cs b/src/Lucene.Net/Index/IndexWriter.cs
index 9b5fac722..abf0efc1b 100644
--- a/src/Lucene.Net/Index/IndexWriter.cs
+++ b/src/Lucene.Net/Index/IndexWriter.cs
@@ -2615,7 +2615,7 @@ private bool UpdatePendingMerges(MergeTrigger trigger, int maxNumSegments)
                 MergePolicy.MergeSpecification spec;
                 if (maxNumSegments != UNBOUNDED_MAX_MERGE_SEGMENTS)
                 {
-                    if (Debugging.AssertsEnabled) Debugging.Assert(trigger == MergeTrigger.EXPLICIT || trigger == MergeTrigger.MERGE_FINISHED, "Expected EXPLICT or MERGE_FINISHED as trigger even with maxNumSegments set but was: {0}", trigger);
+                    if (Debugging.AssertsEnabled) Debugging.Assert(trigger == MergeTrigger.EXPLICIT || trigger == MergeTrigger.MERGE_FINISHED, "Expected EXPLICIT or MERGE_FINISHED as trigger even with maxNumSegments set but was: {0}", trigger);
                     spec = mergePolicy.FindForcedMerges(segmentInfos, maxNumSegments, segmentsToMerge);
                     newMergesFound = spec != null;
                     if (newMergesFound)
diff --git a/src/Lucene.Net/Search/Spans/SpanOrQuery.cs b/src/Lucene.Net/Search/Spans/SpanOrQuery.cs
index ed4f153b1..fdbd2c62d 100644
--- a/src/Lucene.Net/Search/Spans/SpanOrQuery.cs
+++ b/src/Lucene.Net/Search/Spans/SpanOrQuery.cs
@@ -169,7 +169,7 @@ public override bool Equals(object o)
 
         public override int GetHashCode()
         {
-            //If this doesn't work, hash all elemnts together instead. This version was used to reduce time complexity
+            //If this doesn't work, hash all elements together instead. This version was used to reduce time complexity
             int h = clauses.GetHashCode();
             h ^= (h << 10) | (h >>> 23);
             h ^= J2N.BitConversion.SingleToRawInt32Bits(Boost);
diff --git a/src/Lucene.Net/Store/FSDirectory.cs b/src/Lucene.Net/Store/FSDirectory.cs
index 32f2abe57..0164e44fc 100644
--- a/src/Lucene.Net/Store/FSDirectory.cs
+++ b/src/Lucene.Net/Store/FSDirectory.cs
@@ -498,7 +498,7 @@ public int ReadChunkSize
         /// Writes output with <see cref="FileStream.Write(byte[], int, int)"/>
         /// </summary>
         // LUCENENET specific: Since FileStream does its own buffering, this class was refactored
-        // to do all checksum operations as well as writing to the FileStream. By doing this we elminate
+        // to do all checksum operations as well as writing to the FileStream. By doing this we eliminate
         // the extra set of buffers that were only creating unnecessary memory allocations and copy operations.
         protected class FSIndexOutput : BufferedIndexOutput
         {
diff --git a/src/Lucene.Net/Store/LockStressTest.cs b/src/Lucene.Net/Store/LockStressTest.cs
index 8bd4a3276..e281e4722 100644
--- a/src/Lucene.Net/Store/LockStressTest.cs
+++ b/src/Lucene.Net/Store/LockStressTest.cs
@@ -70,7 +70,7 @@ public static void Main(string[] args)
                 //    "  verifierPort = port that LockVerifyServer is listening on\n" +
                 //    "  lockFactoryClassName = primary LockFactory class that we will use\n" +
                 //    "  lockDirName = path to the lock directory (only set for Simple/NativeFSLockFactory\n" +
-                //    "  sleepTimeMS = milliseconds to pause betweeen each lock obtain/release\n" +
+                //    "  sleepTimeMS = milliseconds to pause between each lock obtain/release\n" +
                 //    "  count = number of locking tries\n" +
                 //    "\n" +
                 //    "You should run multiple instances of this process, each with its own\n" +
diff --git a/src/Lucene.Net/Store/SimpleFSLockFactory.cs b/src/Lucene.Net/Store/SimpleFSLockFactory.cs
index 66a73ee10..3d4ebd35e 100644
--- a/src/Lucene.Net/Store/SimpleFSLockFactory.cs
+++ b/src/Lucene.Net/Store/SimpleFSLockFactory.cs
@@ -149,7 +149,7 @@ public override bool Obtain()
             catch (Exception e) // LUCENENET: Some of the exceptions that can happen are not IOException, so we catch everything
             {
                 // On Windows, on concurrent createNewFile, the 2nd process gets "access denied".
-                // In that case, the lock was not aquired successfully, so return false.
+                // In that case, the lock was not acquired successfully, so return false.
                 // We record the failure reason here; the obtain with timeout (usually the
                 // one calling us) will use this as "root cause" if it fails to get the lock.
                 FailureReason = e;
diff --git a/src/Lucene.Net/Support/ExceptionHandling/Exceptions/ClassNotFoundException.cs b/src/Lucene.Net/Support/ExceptionHandling/Exceptions/ClassNotFoundException.cs
index e7f8e0890..b70c4f334 100644
--- a/src/Lucene.Net/Support/ExceptionHandling/Exceptions/ClassNotFoundException.cs
+++ b/src/Lucene.Net/Support/ExceptionHandling/Exceptions/ClassNotFoundException.cs
@@ -43,7 +43,7 @@ namespace Lucene
     /// may throw <see cref="TypeLoadException"/> if a static initializer fails, but usually returns <c>null</c> if
     /// the type is not resolved. So, for compatibility the logic should be adjusted to treat <c>null</c> like a
     /// <see cref="ClassNotFoundException"/> in Java. If the method is expected to throw <see cref="ClassNotFoundException"/>
-    /// when the type cannot be resolved, then we must explictly throw it when <see cref="Type.GetType(string)"/> returns <c>null</c>.
+    /// when the type cannot be resolved, then we must explicitly throw it when <see cref="Type.GetType(string)"/> returns <c>null</c>.
     /// </summary>
     // LUCENENET: It is no longer good practice to use binary serialization.
     // See: https://github.com/dotnet/corefx/issues/23584#issuecomment-325724568
diff --git a/src/Lucene.Net/Support/Threading/ReentrantLock.cs b/src/Lucene.Net/Support/Threading/ReentrantLock.cs
index 4e1fc20dd..cf1531f9c 100644
--- a/src/Lucene.Net/Support/Threading/ReentrantLock.cs
+++ b/src/Lucene.Net/Support/Threading/ReentrantLock.cs
@@ -24,11 +24,11 @@ namespace Lucene.Net.Support.Threading
 
     /// <summary>
     /// A lock that uses an unfair locking strategy, similar to how it works in Java. This lock is unfair
-    /// in that it will aquire the lock even if there are any threads waiting on <see cref="Lock()"/>.
+    /// in that it will acquire the lock even if there are any threads waiting on <see cref="Lock()"/>.
     /// <para/>
     /// This implementation also does not use FIFO order when waiting on <see cref="Lock()"/>. Each queued thread will continue
     /// to acquire the lock continually, but yield between each iteration. So, any waiting thread could be next to
-    /// aquire the lock. This differs from how it works in Java, but the overhead of fixing this behavior with a queue
+    /// acquire the lock. This differs from how it works in Java, but the overhead of fixing this behavior with a queue
     /// is probably not worth the cost.
     /// </summary>
     internal class ReentrantLock
@@ -36,7 +36,7 @@ internal class ReentrantLock
         private readonly object _lock = new object();
 
         /// <summary>
-        /// Tries to aquire the lock. If the lock is not available, the thread will block
+        /// Tries to acquire the lock. If the lock is not available, the thread will block
         /// until it can obtain the lock.
         /// <para/>
         /// FIFO order is not respected on waiting locks. Also, threads that are waiting
@@ -79,7 +79,7 @@ public void Unlock()
         }
 
         /// <summary>
-        /// Tries to aquire the lock and immediately returns a boolean value indicating
+        /// Tries to acquire the lock and immediately returns a boolean value indicating
         /// whether the lock was obtained.
         /// <para/>
         /// Threads that call <see cref="Lock()"/> and <see cref="TryLock()"/> are
diff --git a/src/Lucene.Net/Support/Threading/UninterruptableMonitor.cs b/src/Lucene.Net/Support/Threading/UninterruptableMonitor.cs
index ddcaf2a77..29b82ab73 100644
--- a/src/Lucene.Net/Support/Threading/UninterruptableMonitor.cs
+++ b/src/Lucene.Net/Support/Threading/UninterruptableMonitor.cs
@@ -23,13 +23,13 @@ namespace Lucene.Net.Support.Threading
 
     /// <summary>
     /// A drop-in replacement for <see cref="Monitor"/> that doesn't throw <see cref="ThreadInterruptedException"/>
-    /// when entering locks, but defers the excepetion until a wait or sleep occurs. This is to mimic the behavior in Java,
+    /// when entering locks, but defers the exception until a wait or sleep occurs. This is to mimic the behavior in Java,
     /// which does not throw when entering a lock.
     /// <para/>
     /// <b>NOTE:</b> this is just a best effort. The BCL and other libraries we depend
     /// on don't take such measures, so any call to an API that we don't own could result
     /// in a <see cref="System.Threading.ThreadInterruptedException"/> if it attempts to
-    /// aquire a lock. It is not practical to put a try/catch block around every 3rd party
+    /// acquire a lock. It is not practical to put a try/catch block around every 3rd party
     /// API call that attempts to lock. As such, Lucene.NET does not support
     /// <see cref="Thread.Interrupt()"/> and using it is discouraged.
     /// See https://github.com/apache/lucenenet/issues/526.
@@ -47,13 +47,13 @@ internal static class UninterruptableMonitor
         /// <c>synchronized</c> keyword in Java, which never throws when the current
         /// thread is in an interrupted state. It allows us to catch
         /// <see cref="System.Threading.ThreadInterruptedException"/> in a specific part
-        /// of the application, rather than allowing it to be thrown anywhere we atempt
+        /// of the application, rather than allowing it to be thrown anywhere we attempt
         /// to lock.
         /// <para/>
         /// <b>NOTE:</b> this is just a best effort. The BCL and other libraries we depend
         /// on don't take such measures, so any call to an API that we don't own could result
         /// in a <see cref="System.Threading.ThreadInterruptedException"/> if it attempts to
-        /// aquire a lock. It is not practical to put a try/catch block around every 3rd party
+        /// acquire a lock. It is not practical to put a try/catch block around every 3rd party
         /// API call that attempts to lock. As such, Lucene.NET does not support
         /// <see cref="Thread.Interrupt()"/> and using it is discouraged.
         /// See https://github.com/apache/lucenenet/issues/526.
@@ -99,13 +99,13 @@ public static void Enter(object obj, ref bool lockTaken)
         /// <c>synchronized</c> keyword in Java, which never throws when the current
         /// thread is in an interrupted state. It allows us to catch
         /// <see cref="System.Threading.ThreadInterruptedException"/> in a specific part
-        /// of the application, rather than allowing it to be thrown anywhere we atempt
+        /// of the application, rather than allowing it to be thrown anywhere we attempt
         /// to lock.
         /// <para/>
         /// <b>NOTE:</b> this is just a best effort. The BCL and other libraries we depend
         /// on don't take such measures, so any call to an API that we don't own could result
         /// in a <see cref="System.Threading.ThreadInterruptedException"/> if it attempts to
-        /// aquire a lock. It is not practical to put a try/catch block around every 3rd party
+        /// acquire a lock. It is not practical to put a try/catch block around every 3rd party
         /// API call that attempts to lock. As such, Lucene.NET does not support
         /// <see cref="Thread.Interrupt()"/> and using it is discouraged.
         /// See https://github.com/apache/lucenenet/issues/526.
diff --git a/src/Lucene.Net/Util/Packed/MonotonicBlockPackedWriter.cs b/src/Lucene.Net/Util/Packed/MonotonicBlockPackedWriter.cs
index 25c7250a3..65b878c7e 100644
--- a/src/Lucene.Net/Util/Packed/MonotonicBlockPackedWriter.cs
+++ b/src/Lucene.Net/Util/Packed/MonotonicBlockPackedWriter.cs
@@ -48,7 +48,7 @@ namespace Lucene.Net.Util.Packed
     ///     are the
     ///     <a href="https://developers.google.com/protocol-buffers/docs/encoding#types">zigzag-encoded</a>
     ///     packed (<see cref="PackedInt32s"/>) deltas from the expected value (computed from
-    ///     the function) using exaclty BitsPerValue bits per value</description></item>
+    ///     the function) using exactly BitsPerValue bits per value</description></item>
     /// </list>
     /// <para/>
     /// @lucene.internal
diff --git a/src/dotnet/tools/lucene-cli/SourceCode/SourceCodeExporter.cs b/src/dotnet/tools/lucene-cli/SourceCode/SourceCodeExporter.cs
index 8997acb07..3dae9ae70 100644
--- a/src/dotnet/tools/lucene-cli/SourceCode/SourceCodeExporter.cs
+++ b/src/dotnet/tools/lucene-cli/SourceCode/SourceCodeExporter.cs
@@ -32,7 +32,7 @@ public class SourceCodeExporter
 
         /// <summary>
         /// Reads the provided source code <paramref name="files"/> from the
-        /// embeded resources within this assembly
+        /// embedded resources within this assembly
         /// and writes them out to the <paramref name="outputPath"/>.
         /// </summary>
         /// <param name="files">An <see cref="IEnumerable{T}"/> of files to export.</param>
diff --git a/websites/apidocs/Templates/DefaultTemplateNoAssets/partials/title.tmpl.partial b/websites/apidocs/Templates/DefaultTemplateNoAssets/partials/title.tmpl.partial
index 86d295b5e..71cb54702 100644
--- a/websites/apidocs/Templates/DefaultTemplateNoAssets/partials/title.tmpl.partial
+++ b/websites/apidocs/Templates/DefaultTemplateNoAssets/partials/title.tmpl.partial
@@ -36,7 +36,7 @@ Event {{name.0.value}}
 Operator {{name.0.value}}
 {{/inOperator}}
 {{#inEii}}
-Explict Interface Implementation {{name.0.value}}
+Explicit Interface Implementation {{name.0.value}}
 {{/inEii}}
 {{#inPackage}}
 Package {{name.0.value}}
diff --git a/websites/site/release-notes/version-4.8.0-beta00017.md b/websites/site/release-notes/version-4.8.0-beta00017.md
index 844faaa89..402fcfbd3 100644
--- a/websites/site/release-notes/version-4.8.0-beta00017.md
+++ b/websites/site/release-notes/version-4.8.0-beta00017.md
@@ -11,7 +11,7 @@ version: 4.8.0-beta00017
 >
 > [J2N 2.1](https://github.com/NightOwl888/J2N/releases/tag/v2.1.0) and [ICU4N 60.1.0-alpha.436](https://github.com/NightOwl888/ICU4N/releases/tag/v60.1.0-alpha.436) have had major updates which will lay the groundwork for supporting System.Memory types in Lucene.NET, but those updates will be included in a later release. However, both libraries have had a significant reduction in the number of heap allocations used across their codebases and those improvements have a direct impact on ho [...]
 >
-> We are including .NET Core support for Lucene.Net.OpenNLP for the first time using the IKVM `MavenRefernence` feature. The IKVM distribution is quite large and due to disk space limitations of our CI enviornment we had to reference an older version of both IKVM and IKVM.Maven.Sdk. These package references may be upgraded by end users to use a newer version without any risk of breaking changes.
+> We are including .NET Core support for Lucene.Net.OpenNLP for the first time using the IKVM `MavenRefernence` feature. The IKVM distribution is quite large and due to disk space limitations of our CI environment we had to reference an older version of both IKVM and IKVM.Maven.Sdk. These package references may be upgraded by end users to use a newer version without any risk of breaking changes.
 
 ## Change Log