File tree Expand file tree Collapse file tree
google/cloud/documentai/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,8 +124,8 @@ message OcrConfig {
124124
125125 // Configurations for premium OCR features.
126126 message PremiumFeatures {
127- // Turn on selection mark detector in OCR engine. Only available in OCR 2.0+
128- // processors.
127+ // Turn on selection mark detector in OCR engine. Only available in OCR 2.0
128+ // (and later) processors.
129129 bool enable_selection_mark_detection = 3 ;
130130
131131 // Turn on font identification model and return font style information.
@@ -166,7 +166,7 @@ message OcrConfig {
166166 bool compute_style_info = 8 [deprecated = true ];
167167
168168 // Turn off character box detector in OCR engine. Character box detection is
169- // enabled by default in OCR 2.0+ processors.
169+ // enabled by default in OCR 2.0 (and later) processors.
170170 bool disable_character_boxes_detection = 10 ;
171171
172172 // Configurations for premium OCR features.
Original file line number Diff line number Diff line change @@ -334,17 +334,19 @@ message ProcessOptions {
334334 repeated int32 pages = 1 [(google.api.field_behavior ) = OPTIONAL ];
335335 }
336336
337- // A subset of pages to process. If not specified, all pages will be
338- // processed. NOTICE: If any of the page range is set, we will extract and
339- // process only the given pages from the document. In the output document,
340- // the page_number is referring to the page number in the original document.
341- // This config only applies to sync requests.
337+ // A subset of pages to process. If not specified, all pages are processed.
338+ // If a page range is set, only the given pages are extracted and processed
339+ // from the document. In the output document,
340+ // [Document.Page.page_number][google.cloud.documentai.v1.Document.Page.page_number]
341+ // refers to the page number in the original document. This configuration
342+ // only applies to sync requests. `page_range` can be only one of the
343+ // following:
342344 oneof page_range {
343345 // Which pages to process (1-indexed).
344346 IndividualPageSelector individual_page_selector = 5 ;
345347
346- // Only process certain pages from the start, process all if the document
347- // has less pages.
348+ // Only process certain pages from the start. Process all if the document
349+ // has fewer pages.
348350 int32 from_start = 6 ;
349351
350352 // Only process certain pages from the end, same as above.
You can’t perform that action at this time.
0 commit comments