Fix spelling

This commit is contained in:
John Bampton
2023-10-02 01:25:23 +10:00
parent 2fea294b13
commit 2c6ab18e41
7 changed files with 12 additions and 12 deletions

View File

@@ -69,10 +69,10 @@ class HTMLParser(BaseParser):
Chunks.append([])
Chunks[-1].append(isd_el['text'])
# Removing all the chunks with sum of lenth of all the strings in the chunk < 25
# Removing all the chunks with sum of length of all the strings in the chunk < 25
# TODO: This value can be a user defined variable
for chunk in Chunks:
# sum of lenth of all the strings in the chunk
# sum of length of all the strings in the chunk
sum = 0
sum += len(str(chunk))
if sum < 25:

View File

@@ -27,7 +27,7 @@ class RstParser(BaseParser):
remove_interpreters: bool = True,
remove_directives: bool = True,
remove_whitespaces_excess: bool = True,
# Be carefull with remove_characters_excess, might cause data loss
# Be careful with remove_characters_excess, might cause data loss
remove_characters_excess: bool = True,
**kwargs: Any,
) -> None: