diff --git a/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/ComputerVisionClient.java b/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/ComputerVisionClient.java index 2ddc07c14f2b..8166849be705 100644 --- a/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/ComputerVisionClient.java +++ b/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/ComputerVisionClient.java @@ -972,7 +972,7 @@ public interface ComputerVisionClient { Observable> getTextOperationResultWithServiceResponseAsync(String operationId); /** - * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Read Operation Result" operation to access OCR results.​. + * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadOperationResult' operation to access OCR results.​. * * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' * @param url Publicly reachable URL of an image. @@ -983,7 +983,7 @@ public interface ComputerVisionClient { void batchReadFile(String url, TextRecognitionMode mode); /** - * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Read Operation Result" operation to access OCR results.​. + * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadOperationResult' operation to access OCR results.​. * * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' * @param url Publicly reachable URL of an image. @@ -994,7 +994,7 @@ public interface ComputerVisionClient { ServiceFuture batchReadFileAsync(String url, TextRecognitionMode mode, final ServiceCallback serviceCallback); /** - * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Read Operation Result" operation to access OCR results.​. + * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadOperationResult' operation to access OCR results.​. * * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' * @param url Publicly reachable URL of an image. @@ -1004,7 +1004,7 @@ public interface ComputerVisionClient { Observable batchReadFileAsync(String url, TextRecognitionMode mode); /** - * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Read Operation Result" operation to access OCR results.​. + * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadOperationResult' operation to access OCR results.​. * * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' * @param url Publicly reachable URL of an image. @@ -1014,9 +1014,9 @@ public interface ComputerVisionClient { Observable> batchReadFileWithServiceResponseAsync(String url, TextRecognitionMode mode); /** - * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from "Operation-Location" field returned from Batch Read File interface. + * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from 'Operation-Location' field returned from Batch Read File interface. * - * @param operationId Id of read operation returned in the response of the "Batch Read File" interface. + * @param operationId Id of read operation returned in the response of the 'Batch Read File' interface. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws ComputerVisionErrorException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent @@ -1025,9 +1025,9 @@ public interface ComputerVisionClient { ReadOperationResult getReadOperationResult(String operationId); /** - * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from "Operation-Location" field returned from Batch Read File interface. + * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from 'Operation-Location' field returned from Batch Read File interface. * - * @param operationId Id of read operation returned in the response of the "Batch Read File" interface. + * @param operationId Id of read operation returned in the response of the 'Batch Read File' interface. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -1035,18 +1035,18 @@ public interface ComputerVisionClient { ServiceFuture getReadOperationResultAsync(String operationId, final ServiceCallback serviceCallback); /** - * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from "Operation-Location" field returned from Batch Read File interface. + * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from 'Operation-Location' field returned from Batch Read File interface. * - * @param operationId Id of read operation returned in the response of the "Batch Read File" interface. + * @param operationId Id of read operation returned in the response of the 'Batch Read File' interface. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the ReadOperationResult object */ Observable getReadOperationResultAsync(String operationId); /** - * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from "Operation-Location" field returned from Batch Read File interface. + * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from 'Operation-Location' field returned from Batch Read File interface. * - * @param operationId Id of read operation returned in the response of the "Batch Read File" interface. + * @param operationId Id of read operation returned in the response of the 'Batch Read File' interface. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the ReadOperationResult object */ @@ -1823,7 +1823,7 @@ public interface ComputerVisionClient { Observable> recognizeTextInStreamWithServiceResponseAsync(byte[] image, TextRecognitionMode mode); /** - * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Get Read Result operation" to access OCR results.​. + * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'Get Read Result operation' to access OCR results.​. * * @param image An image stream. * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' @@ -1834,7 +1834,7 @@ public interface ComputerVisionClient { void batchReadFileInStream(byte[] image, TextRecognitionMode mode); /** - * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Get Read Result operation" to access OCR results.​. + * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'Get Read Result operation' to access OCR results.​. * * @param image An image stream. * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' @@ -1845,7 +1845,7 @@ public interface ComputerVisionClient { ServiceFuture batchReadFileInStreamAsync(byte[] image, TextRecognitionMode mode, final ServiceCallback serviceCallback); /** - * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Get Read Result operation" to access OCR results.​. + * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'Get Read Result operation' to access OCR results.​. * * @param image An image stream. * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' @@ -1855,7 +1855,7 @@ public interface ComputerVisionClient { Observable batchReadFileInStreamAsync(byte[] image, TextRecognitionMode mode); /** - * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Get Read Result operation" to access OCR results.​. + * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'Get Read Result operation' to access OCR results.​. * * @param image An image stream. * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' diff --git a/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/implementation/ComputerVisionClientImpl.java b/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/implementation/ComputerVisionClientImpl.java index 81ec0e02f43b..fdbf93321a47 100644 --- a/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/implementation/ComputerVisionClientImpl.java +++ b/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/implementation/ComputerVisionClientImpl.java @@ -1830,7 +1830,7 @@ private ServiceResponse getTextOperationResultDelegate(Resp } /** - * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Read Operation Result" operation to access OCR results.​. + * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadOperationResult' operation to access OCR results.​. * * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' * @param url Publicly reachable URL of an image. @@ -1843,7 +1843,7 @@ public void batchReadFile(String url, TextRecognitionMode mode) { } /** - * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Read Operation Result" operation to access OCR results.​. + * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadOperationResult' operation to access OCR results.​. * * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' * @param url Publicly reachable URL of an image. @@ -1856,7 +1856,7 @@ public ServiceFuture batchReadFileAsync(String url, TextRecognitionMode mo } /** - * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Read Operation Result" operation to access OCR results.​. + * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadOperationResult' operation to access OCR results.​. * * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' * @param url Publicly reachable URL of an image. @@ -1873,7 +1873,7 @@ public Void call(ServiceResponseWithHeaders response } /** - * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Read Operation Result" operation to access OCR results.​. + * Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'GetReadOperationResult' operation to access OCR results.​. * * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' * @param url Publicly reachable URL of an image. @@ -1915,9 +1915,9 @@ private ServiceResponseWithHeaders batchReadFileDele } /** - * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from "Operation-Location" field returned from Batch Read File interface. + * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from 'Operation-Location' field returned from Batch Read File interface. * - * @param operationId Id of read operation returned in the response of the "Batch Read File" interface. + * @param operationId Id of read operation returned in the response of the 'Batch Read File' interface. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws ComputerVisionErrorException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent @@ -1928,9 +1928,9 @@ public ReadOperationResult getReadOperationResult(String operationId) { } /** - * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from "Operation-Location" field returned from Batch Read File interface. + * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from 'Operation-Location' field returned from Batch Read File interface. * - * @param operationId Id of read operation returned in the response of the "Batch Read File" interface. + * @param operationId Id of read operation returned in the response of the 'Batch Read File' interface. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -1940,9 +1940,9 @@ public ServiceFuture getReadOperationResultAsync(String ope } /** - * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from "Operation-Location" field returned from Batch Read File interface. + * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from 'Operation-Location' field returned from Batch Read File interface. * - * @param operationId Id of read operation returned in the response of the "Batch Read File" interface. + * @param operationId Id of read operation returned in the response of the 'Batch Read File' interface. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the ReadOperationResult object */ @@ -1956,9 +1956,9 @@ public ReadOperationResult call(ServiceResponse response) { } /** - * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from "Operation-Location" field returned from Batch Read File interface. + * This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from 'Operation-Location' field returned from Batch Read File interface. * - * @param operationId Id of read operation returned in the response of the "Batch Read File" interface. + * @param operationId Id of read operation returned in the response of the 'Batch Read File' interface. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the ReadOperationResult object */ @@ -3331,7 +3331,7 @@ private ServiceResponseWithHeaders recognize } /** - * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Get Read Result operation" to access OCR results.​. + * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'Get Read Result operation' to access OCR results.​. * * @param image An image stream. * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' @@ -3344,7 +3344,7 @@ public void batchReadFileInStream(byte[] image, TextRecognitionMode mode) { } /** - * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Get Read Result operation" to access OCR results.​. + * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'Get Read Result operation' to access OCR results.​. * * @param image An image stream. * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' @@ -3357,7 +3357,7 @@ public ServiceFuture batchReadFileInStreamAsync(byte[] image, TextRecognit } /** - * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Get Read Result operation" to access OCR results.​. + * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'Get Read Result operation' to access OCR results.​. * * @param image An image stream. * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' @@ -3374,7 +3374,7 @@ public Void call(ServiceResponseWithHeaders } /** - * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called "Operation-Location". The "Operation-Location" field contains the URL that you must use for your "Get Read Result operation" to access OCR results.​. + * Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called 'Operation-Location'. The 'Operation-Location' field contains the URL that you must use for your 'Get Read Result operation' to access OCR results.​. * * @param image An image stream. * @param mode Type of text to recognize. Possible values include: 'Handwritten', 'Printed' diff --git a/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/Line.java b/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/Line.java index 71d6c3cf2149..77446a89f8a5 100644 --- a/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/Line.java +++ b/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/Line.java @@ -12,7 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; /** - * Json object representing a recognized text line. + * An object representing a recognized text line. */ public class Line { /** diff --git a/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/ReadOperationResult.java b/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/ReadOperationResult.java index 350dda7e17ed..4319d5344e11 100644 --- a/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/ReadOperationResult.java +++ b/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/ReadOperationResult.java @@ -23,7 +23,7 @@ public class ReadOperationResult { private TextOperationStatusCodes status; /** - * A array of text recognition result of the read operation. + * An array of text recognition result of the read operation. */ @JsonProperty(value = "recognitionResults") private List recognitionResults; @@ -49,7 +49,7 @@ public ReadOperationResult withStatus(TextOperationStatusCodes status) { } /** - * Get a array of text recognition result of the read operation. + * Get an array of text recognition result of the read operation. * * @return the recognitionResults value */ @@ -58,7 +58,7 @@ public List recognitionResults() { } /** - * Set a array of text recognition result of the read operation. + * Set an array of text recognition result of the read operation. * * @param recognitionResults the recognitionResults value to set * @return the ReadOperationResult object itself. diff --git a/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/TextRecognitionResult.java b/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/TextRecognitionResult.java index 909d8d351844..d6ce02e2fa1f 100644 --- a/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/TextRecognitionResult.java +++ b/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/TextRecognitionResult.java @@ -12,7 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; /** - * Json object representing a recognized text region. + * An object representing a recognized text region. */ public class TextRecognitionResult { /** @@ -42,7 +42,7 @@ public class TextRecognitionResult { /** * The unit used in the Width, Height and BoundingBox. For images, the unit - * is "pixel". For PDF, the unit is "inch". Possible values include: + * is 'pixel'. For PDF, the unit is 'inch'. Possible values include: * 'pixel', 'inch'. */ @JsonProperty(value = "unit") @@ -135,7 +135,7 @@ public TextRecognitionResult withHeight(Double height) { } /** - * Get the unit used in the Width, Height and BoundingBox. For images, the unit is "pixel". For PDF, the unit is "inch". Possible values include: 'pixel', 'inch'. + * Get the unit used in the Width, Height and BoundingBox. For images, the unit is 'pixel'. For PDF, the unit is 'inch'. Possible values include: 'pixel', 'inch'. * * @return the unit value */ @@ -144,7 +144,7 @@ public TextRecognitionResultDimensionUnit unit() { } /** - * Set the unit used in the Width, Height and BoundingBox. For images, the unit is "pixel". For PDF, the unit is "inch". Possible values include: 'pixel', 'inch'. + * Set the unit used in the Width, Height and BoundingBox. For images, the unit is 'pixel'. For PDF, the unit is 'inch'. Possible values include: 'pixel', 'inch'. * * @param unit the unit value to set * @return the TextRecognitionResult object itself. diff --git a/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/Word.java b/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/Word.java index 8cd16ea23772..cf2f3766ba19 100644 --- a/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/Word.java +++ b/cognitiveservices/data-plane/vision/computervision/src/main/java/com/microsoft/azure/cognitiveservices/vision/computervision/models/Word.java @@ -12,7 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; /** - * Json object representing a recognized word. + * An object representing a recognized word. */ public class Word { /**