Skip to content

Commit 25617a6

Browse files
[formrecognizer] pages update (Azure#16403)
* update pages description * missed a parentheses
1 parent adcf588 commit 25617a6

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -443,9 +443,9 @@ def begin_recognize_content(self, form, **kwargs):
443443
444444
:param form: JPEG, PNG, PDF, TIFF, or BMP type file stream or bytes.
445445
:type form: bytes or IO[bytes]
446-
:keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the
447-
pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or
448-
range with a comma.
446+
:keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers
447+
and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like
448+
`pages=["1-3", "5-6"]`. Separate each page number or range with a comma.
449449
:keyword str language: The BCP-47 language code of the text in the document.
450450
See supported language codes here:
451451
https://docs.microsoft.com/azure/cognitive-services/form-recognizer/language-support.
@@ -515,9 +515,9 @@ def begin_recognize_content_from_url(self, form_url, **kwargs):
515515
516516
:param str form_url: The URL of the form to analyze. The input must be a valid, encoded URL
517517
of one of the supported formats: JPEG, PNG, PDF, TIFF, or BMP.
518-
:keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the
519-
pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or
520-
range with a comma.
518+
:keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers
519+
and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like
520+
`pages=["1-3", "5-6"]`. Separate each page number or range with a comma.
521521
:keyword str language: The BCP-47 language code of the text in the document.
522522
See supported language codes here:
523523
https://docs.microsoft.com/azure/cognitive-services/form-recognizer/language-support.

sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,9 @@ async def begin_recognize_content(
445445
446446
:param form: JPEG, PNG, PDF, TIFF, or BMP type file stream or bytes.
447447
:type form: bytes or IO[bytes]
448-
:keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the
449-
pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or
450-
range with a comma.
448+
:keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers
449+
and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like
450+
`pages=["1-3", "5-6"]`. Separate each page number or range with a comma.
451451
:keyword str language: The BCP-47 language code of the text in the document.
452452
See supported language codes here:
453453
https://docs.microsoft.com/azure/cognitive-services/form-recognizer/language-support.
@@ -516,9 +516,9 @@ async def begin_recognize_content_from_url(self, form_url: str, **kwargs: Any) -
516516
517517
:param str form_url: The URL of the form to analyze. The input must be a valid, encoded URL
518518
of one of the supported formats: JPEG, PNG, PDF, TIFF, or BMP.
519-
:keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF), input the number of the
520-
pages you want to get OCR result. For a range of pages, use a hyphen. Separate each page or
521-
range with a comma.
519+
:keyword list[str] pages: Custom page numbers for multi-page documents(PDF/TIFF). Input the page numbers
520+
and/or ranges of pages you want to get in the result. For a range of pages, use a hyphen, like
521+
`pages=["1-3", "5-6"]`. Separate each page number or range with a comma.
522522
:keyword str language: The BCP-47 language code of the text in the document.
523523
See supported language codes here:
524524
https://docs.microsoft.com/azure/cognitive-services/form-recognizer/language-support.

0 commit comments

Comments
 (0)