From d6a7b16ea9c33480698bc9a5d94feed28b876d24 Mon Sep 17 00:00:00 2001 From: Tabs Date: Wed, 6 May 2026 12:27:32 +1000 Subject: [PATCH] docs: update ILGS to ILDGS Update ILGS to ILDGS in strings of text/comments only --- src/text2markdown/async_text2markdown.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/text2markdown/async_text2markdown.py b/src/text2markdown/async_text2markdown.py index 8d31bab..8482a53 100644 --- a/src/text2markdown/async_text2markdown.py +++ b/src/text2markdown/async_text2markdown.py @@ -22,7 +22,7 @@ async def text2markdown_async( """Intelligently converts plain text into Markdown asynchronously. Args: - text (str | ILGSDocument): Input to be converted into Markdown. If an Isaacus Legal Graph Schema (ILGS) Document is supplied, this function will convert the Document's text into Markdown without needing to enrich it first with an Isaacus enrichment model. + text (str | ILGSDocument): Input to be converted into Markdown. If an Isaacus Legal Document Graph Schema (ILDGS) Document is supplied, this function will convert the Document's text into Markdown without needing to enrich it first with an Isaacus enrichment model. link_xrefs (bool, optional): Whether to link cross-references in the input text to their targets, for example, linking "as mentioned in Section 2.1" to the relevant section. @@ -38,7 +38,7 @@ async def text2markdown_async( enrichment_model (str, optional): The name of the Isaacus enrichment model to use for converting the input text into Markdown. Defaults to the latest and most advanced Isaacus enrichment model, currently `kanon-2-enricher`. - isaacus_client (isaacus.AsyncIsaacus, optional): An Isaacus API client to use for enriching the input text with an Isaacus enrichment model if the input is not already an Isaacus Legal Graph Schema (ILGS) Document. If `None`, a new instance will be created instead where necessary. + isaacus_client (isaacus.AsyncIsaacus, optional): An Isaacus API client to use for enriching the input text with an Isaacus enrichment model if the input is not already an Isaacus Legal Document Graph Schema (ILDGS) Document. If `None`, a new instance will be created instead where necessary. """ # Raise an error if supplied with a synchronous Isaacus client. @@ -46,7 +46,7 @@ async def text2markdown_async( raise ValueError("""\ `text2markdown_async()` requires an asynchronous Isaacus client, but a synchronous Isaacus client was provided. Please supply an `isaacus.AsyncIsaacus` client or set `isaacus_client` to `None` to have an asynchronous client created automatically.""") - # Convert the text into an Isaacus Legal Graph Schema (ILGS) Document if it is not one already. + # Convert the text into an Isaacus Legal Document Graph Schema (ILDGS) Document if it is not one already. doc = text if isinstance(text, str):