From: Michael R. Crusoe <crusoe@debian.org>
Subject: fix spelling typos
Forwarded: https://github.com/vgteam/vg/pull/3169
--- vg.orig/deps/vowpal_wabbit/vowpalwabbit/parse_args.cc
+++ vg/deps/vowpal_wabbit/vowpalwabbit/parse_args.cc
@@ -627,7 +627,7 @@
        ||
        interactions_settings_doubled /*settings were restored from model file to file_options and overriden by params from command line*/)
   {
-    arg.trace_message << "WARNING: model file has set of {-q, --cubic, --interactions} settings stored, but they'll be OVERRIDEN by set of {-q, --cubic, --interactions} settings from command line." << endl;
+    arg.trace_message << "WARNING: model file has set of {-q, --cubic, --interactions} settings stored, but they'll be OVERRIDDEN by set of {-q, --cubic, --interactions} settings from command line." << endl;
 
     // in case arrays were already filled in with values from old model file - reset them
     if (!arg.all->pairs.empty()) arg.all->pairs.clear();
--- vg.orig/deps/vowpal_wabbit/vowpalwabbit/global_data.h
+++ vg/deps/vowpal_wabbit/vowpalwabbit/global_data.h
@@ -160,7 +160,7 @@
       uint64_t hash = uniform_hash((unsigned char*)l.begin, l.end-l.begin, 378401);
       uint64_t id = name2id.get(l, hash);
       if (id != 0) // TODO: memory leak: char* temp
-        THROW("error: label dictionary initialized with multiple occurances of: " << l);
+        THROW("error: label dictionary initialized with multiple occurrences of: " << l);
       size_t len = l.end - l.begin;
       substring l_copy = { calloc_or_throw<char>(len), nullptr };
       memcpy(l_copy.begin, l.begin, len * sizeof(char));
--- vg.orig/deps/vowpal_wabbit/vowpalwabbit/cost_sensitive.cc
+++ vg/deps/vowpal_wabbit/vowpalwabbit/cost_sensitive.cc
@@ -23,7 +23,7 @@
       THROW("error NaN value for: " << name[0]);
     break;
   default:
-    cerr << "example with a wierd name.  What is '";
+    cerr << "example with a weird name.  What is '";
     cerr.write(s.begin, s.end - s.begin);
     cerr << "'?\n";
   }
--- vg.orig/src/unittest/genotypekit.cpp
+++ vg/src/unittest/genotypekit.cpp
@@ -684,7 +684,7 @@
     REQUIRE(finder->find_snarls().num_snarls() == 2);
 }
 
-TEST_CASE("IntegratedSnarlFinder safely handles a single node conencted component in a larger graph", "[genotype][integrated-snarl-finder]") {
+TEST_CASE("IntegratedSnarlFinder safely handles a single node connected component in a larger graph", "[genotype][integrated-snarl-finder]") {
     
     // Build a toy graph
     const string graph_json = R"(
