Skip to content

Commit

Permalink
docs: correct spelling of partition in docs (#1104)
Browse files Browse the repository at this point in the history
Fixes a typo in several places where the word `partition` is misspelled
as `partiton`
  • Loading branch information
NoahGreer authored Aug 12, 2023
1 parent f63a66d commit fa0a5af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/bricks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ saved in the ``.doc`` format. This partition brick uses a combination of the sty
information in the document and the structure of the text to determine the type
of a text element. The ``partition_doc`` can take a filename or file-like object
as input.
``partiton_doc`` uses ``libreoffice`` to convert the file to ``.docx`` and then
``partition_doc`` uses ``libreoffice`` to convert the file to ``.docx`` and then
calls ``partition_docx``. Ensure you have ``libreoffice`` installed
before using ``partition_doc``.

Expand Down
2 changes: 1 addition & 1 deletion unstructured/partition/epub.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def partition_epub(
**kwargs,
) -> List[Element]:
"""Partitions an EPUB document. The document is first converted to HTML and then
partitoned using partiton_html. Book `section` info is included in metadata, but
partitioned using partition_html. Book `section` info is included in metadata, but
does not perfectly align with sections in document because of ebooklib constraints.
Parameters
Expand Down
2 changes: 1 addition & 1 deletion unstructured/partition/rtf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def partition_rtf(
**kwargs,
) -> List[Element]:
"""Partitions an RTF document. The document is first converted to HTML and then
partitioned using partiton_html.
partitioned using partition_html.
Parameters
----------
Expand Down

0 comments on commit fa0a5af

Please sign in to comment.