aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-11-24 16:10:30 -0800
committerBryan Newbold <bnewbold@archive.org>2021-11-24 16:10:30 -0800
commit2eec63919e758b6f037765c8ca46f53a42c5f138 (patch)
tree5418b43e219fac427d3bafca3fbe1098c0fbb85f
parent2d3a161c76f6f0acdad846f6070a3c282b8d9e38 (diff)
downloadchocula-2eec63919e758b6f037765c8ca46f53a42c5f138.tar.gz
chocula-2eec63919e758b6f037765c8ca46f53a42c5f138.zip
codespell fix minor typos (there are some more in actual code
-rw-r--r--chocula/common.py6
-rw-r--r--chocula/directories/vanished_disapeared.py2
-rw-r--r--chocula/util.py2
-rw-r--r--notes/explore.md2
4 files changed, 6 insertions, 6 deletions
diff --git a/chocula/common.py b/chocula/common.py
index 94c4c7f..29b6e26 100644
--- a/chocula/common.py
+++ b/chocula/common.py
@@ -178,7 +178,7 @@ class KbartLoader:
class OnixCsvLoader(KbartLoader):
"""
Similar to the KBART loader class, but for ONIX CSV files instead of KBART
- formated TSV.
+ formatted TSV.
CSV columns:
- ISSN
@@ -224,7 +224,7 @@ class OnixCsvLoader(KbartLoader):
class CarinianaCsvLoader(KbartLoader):
"""
Similar to the KBART loader class, but for custom CSV files instead of
- KBART formated TSV.
+ KBART formatted TSV.
CSV columns:
- Region
@@ -273,7 +273,7 @@ class HathifilesLoader(KbartLoader):
"""
Similar to the KBART loader class, but for Hathifiles bulk format.
- Relavent TSV columns ("one-indexed", not zero-indexed):
+ Relevant TSV columns ("one-indexed", not zero-indexed):
- 2 access (allow=bright, deny=dark)
- 5 description
diff --git a/chocula/directories/vanished_disapeared.py b/chocula/directories/vanished_disapeared.py
index 36bd66b..72d1a86 100644
--- a/chocula/directories/vanished_disapeared.py
+++ b/chocula/directories/vanished_disapeared.py
@@ -9,7 +9,7 @@ from chocula.database import DirectoryInfo, HomepageUrl
class VanishedDisapearedLoader(DirectoryLoader):
"""
Journal-level metadata from the "Vanished Journals" project. This is the
- "disapeared" dataset, with many homepage URLs in wayback (web.archive.org).
+ "disappeared" dataset, with many homepage URLs in wayback (web.archive.org).
CSV headers:
- Source
diff --git a/chocula/util.py b/chocula/util.py
index 1d4a5d5..ed7398d 100644
--- a/chocula/util.py
+++ b/chocula/util.py
@@ -346,7 +346,7 @@ def clean_str(s: Optional[str]) -> Optional[str]:
# non-sorting
s.replace("\u02dc", "")
s.replace("\u0153", "")
- # there is a very samll chance this will filter out valid strings
+ # there is a very small chance this will filter out valid strings
if s.lower() in ("null", "n/a", "unknown"):
return None
return s or None
diff --git a/notes/explore.md b/notes/explore.md
index a649217..1aebf67 100644
--- a/notes/explore.md
+++ b/notes/explore.md
@@ -43,7 +43,7 @@ How about Hathitrust?
26628 48160184 36905342
Much larger potential impact, of 11+ million releases, though unclear how many
-are acutally in the hathitrust archives.
+are acutually in the hathitrust archives.
## 2020-06-23