fix: correct spelling mistakes of "seperate, intialise, pre-defined" (#14647)

fix spellings

**seperate -> separate**: found more occurrences, see
https://github.com/langchain-ai/langchain/pull/14602
**initialise -> intialize**: the latter is more common in the repo
**pre-defined > predefined**: adding a comma after a prefix is a
delicate matter, but this is a generally accepted word

also, another word that appears in the repo is "fs" (stands for
filesystem), e.g., in `libs/core/langchain_core/prompts/loading.py`
` """Unified method for loading a prompt from LangChainHub or local
fs."""`
Isn't "filesystem" better?
This commit is contained in:
Ran
2023-12-22 21:49:35 +02:00
committed by GitHub
parent 86d27fd684
commit c3f8733aef
14 changed files with 15 additions and 15 deletions

View File

@@ -18,7 +18,7 @@ class BSHTMLLoader(BaseLoader):
bs_kwargs: Union[dict, None] = None,
get_text_separator: str = "",
) -> None:
"""Initialise with path, and optionally, file encoding to use, and any kwargs
"""initialize with path, and optionally, file encoding to use, and any kwargs
to pass to the BeautifulSoup object.
Args: