Closed DerekMaggio closed 5 years ago
Which line?
On Nov 1, 2018, at 4:33 PM, jamesrhodesCSUS notifications@github.com wrote:
@jamesrhodesCSUS commented on this pull request.
In classes/box_data.js:
- @class box_data
- @description Object that contains parsed tesseract response and functionality for correcting that data.
- It also generates a unique ID for every call and contains all data sent to Tesseract.
- *
- @property {string} tesseract_request - The object representation of the data sent to us by client to query Tesseract with.
- @property {string} corrected_data - The corrections (if any) to what Tesseract thought the selected text said
- @property {xml} ocr_data - The raw unparsed response from Tesseract
- @property {number} box_id - Static, unique identifier for box object.
- */
- constructor(ocr_data, tesseract_request) {
- this._tesseract_request = tesseract_request;
- this._corrected_data = null;
- this._ocr_data = ocr_data;
- this._parsed_data = parsing.hocrParser(ocr_data);
- this._box_id = box_id++; Will this have an error since it is frozen?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub, or mute the thread.
Added validation for box_data_object
Added Eli's parsing with minor changes
Added fin_communication_wrapper for instruction on how to access ldp
Fully fleshed out taking box coordinates from client, generating query, querying tesseract, receiving the response, parsing it, casting all data as an object with flexability to correct the data and send it back to client.