Skip to content

Commit 68e2880

Browse files
rlskoeserlaurejt
andauthored
Apply suggestions from code review
Co-authored-by: Laure Thompson <602628+laurejt@users.noreply.github.com>
1 parent d1c7ff1 commit 68e2880

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/corppa/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def validate(self, text=True, metadata=True) -> bool:
118118
@dataclass
119119
class PPACorpusConfig(CorpusConfig):
120120
"""
121-
PPA corpus config. Defines suffixes to for text
121+
PPA corpus config. Defines suffixes for text
122122
and metadata to match the known filenames used in PPA full-text dataset.
123123
"""
124124

src/corppa/poetry_detection/ref_corpora.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class ChadwyckHealey(LocalTextCorpus):
163163
#: id for this reference corpus: chadwyck-healey
164164
corpus_id: str = "chadwyck-healey"
165165
corpus_name: str = "Chadwyck-Healey"
166-
# inherits config with text_path & metadata path
166+
# inherits config with text_path & metadata path
167167

168168
def get_metadata_df(self, poem_length=False) -> pl.DataFrame:
169169
# disable schema inference; the fields we care about are all strings

0 commit comments

Comments
 (0)