Methods for automated text cutting description documents structuring
The method automates the conversion of unstructured geological cutting description documents into structured format using dictionary and mapping files, addressing the unsuitability of existing documents for machine learning, and achieving a clean dataset for predictive models by correcting errors and standardizing vocabularies.
Patent Information
- Application Number
- PCT/RU2023/000070
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2024-09-19
AI Technical Summary
Unstructured geological cutting description documents, due to their subjective and unstandardized nature, are not suitable for direct use in machine learning model training, requiring an automated structuring method to convert them into a tabulated format for predictive model training.
A method involving parsing unstructured text documents using a dictionary, mapping, and correction files to output structured documents in a tabulated form, which includes parsing text based on approved vocabularies and correcting typographical errors, thereby creating a clean dataset for machine learning models.
Automates the conversion of unstructured documents to structured format, minimizing subjectivity and correcting errors, resulting in a homogeneous dataset suitable for machine learning model training.
Smart Images

Figure RU2023000070_19092024_PF_FP_ABST
Abstract
Description
[0001] METHODS FOR AUTOMATED TEXT CUTTING DESCRIPTION DOCUMENTS
[0002] STRUCTURING
[0003] BACKGROUND For any artificial intelligence-based analysis, a training dataset is required to train the predictive model. Conventionally, the training dataset is made by the collection and compilation of individual visual cutting description provided by wellsite geologists. This visual description, subjective to the describer expertise and background, is usually reported in text documents (e.g., unstructured documents, one document per well). Therefore, despite the fact that company guidelines are usually provided to the describer to adhere to a certain description protocol and standard, these text documents are not uniform regarding two aspects: the general structure / template of the description / document and the vocabulary used to describe the samples. Furthermore, because of the tediousness of the wellsite geologist tasks, spelling mistakes are very common in these text documents (lithology name, color, etc.). Being unstructured, these text reports are not suitable to be used directly for predictive model training. A structuring step is required to convert these documents from a plain text format to a tabulated format (z.e., document structuring). Provided the large number of legacy unstructured reports, it is unreasonable to manually proceed with documents structuring. Accordingly, there exists a need for a method to automate the structuring of the geological cutting description documents, and to allow conversion of these documents from unstructured to structured format more suitable for machine learning model training.
[0004] SUMMARY This summary is provided to introduce a selection of concepts that are further described below in the detailed description. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used as an aid in limiting the scope of the claimed subject matter. In one or more embodiments, a method for automated text structuring for a cutting description document includes reading text from the cutting description document, which is an unstructured document; parsing the text from the cutting description document based on a dictionary file to obtain parsed text; outputting the parsed text to a structured document in a tabulated form; outputting a first associated text from the mapping file to the structured document in the tabulated form in response to a sentence in the text from the cutting description document including a first text in a mapping file; and outputting a second associated text in the correction file to the structured document in the tabulated form in response to a word or phrase in the text from the cutting description document matching a second text in a correction file. In one or more embodiments, the method further includes outputting a warning message when there remains unparsed information from the cutting description document; determining whether the unparsed information is important; outputting the unparsed information to a skipping file when the unparsed information is not important; updating the dictionary file and parsing the unparsed information when the unparsed information is important; outputting the unparsed information to a note file in response to the unparsed information being unimportant; and outputting the note file to the structured document in the tabulated form. In one or more embodiments, in the method, the parsed text includes at least a lithology, a color, a grain size, a porosity, a hardness, a sorting, a cement, and a show property. The mapping file includes a list of new synonymies, and a list of old synonymies introduced in the dictionary file. The first text is from the list of the new synonymies, and the first associated text is from the list of the old synonymies. The structured document in the tabulated form is used to provide a clean dataset for machine learning models. Other aspects and advantages of the claimed subject matter will be apparent from the following description and the appended claims.
[0005] BRIEF DESCRIPTION OF DRAWINGS Specific embodiments of the disclosed technology will now be described in detail with reference to the accompanying figures. Like elements in the various figures are denoted by like reference numerals for consistency. The advantages and features of the present invention will become better understood with reference to the following more detailed description taken in conjunction with the accompanying drawings in which: FIG. 1 illustrates an exemplary text in a geological cutting description document, in accordance with one or more embodiments of the disclosure; FIG. 2 illustrates an exemplary workflow to automate the structuring of a geological cutting description document, in accordance with one or more embodiments of the disclosure; FIG. 3 illustrates is a flowchart of a method of parsing texts based on a dictionary file, in accordance with one or more embodiments of the disclosure; and FIG. 4 illustrates a block diagram of an exemplary computer device operating, in accordance with one or more embodiments of the disclosure.
[0006] DETAILED DESCRIPTION In the following detailed description of embodiments of the disclosure, numerous specific details are set forth in order to provide a more thorough understanding of the disclosure. However, it will be apparent to one of ordinary skill in the art that the disclosure may be practiced without these specific details. In other instances, well-known features have not been described in detail to avoid unnecessarily complicating the description. Throughout the application, ordinal numbers (e.g., first, second, third, etc.) may be used as an adjective for an element (z.e., any noun in the application). The use of ordinal numbers is not to imply or create any particular ordering of the elements nor to limit any element to being only a single element unless expressly disclosed, such as using the terms "before," "after," "single," and other such terminology. Rather, the use of ordinal numbers is to distinguish between the elements. By way of an example, a first element is distinct from a second element, and the first element may encompass more than one element and succeed (or precede) the second element in an ordering of elements. In the following description of FIGs. 1-4, any component described regarding a figure, in various embodiments disclosed herein, may be equivalent to one or more like-named components described with regard to any other figure. For brevity, descriptions of these components will not be repeated regarding each figure. Thus, each and every embodiment of the components of each figure is incorporated by reference and assumed to be optionally present within every other figure having one or more like-named components. Additionally, in accordance with various embodiments disclosed herein, any description of the components of a figure is to be interpreted as an optional embodiment which may be implemented in addition to, in conjunction with, or in place of the embodiments described with regard to a corresponding like-named component in any other figure. It is to be understood that the singular forms “a,” “an,” and “the” include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to “a wellbore” includes reference to one or more of such wellbores. Terms such as “approximately,” “substantially,” etc., mean that the recited characteristic, parameter, or value need not be achieved exactly, but that deviations or variations, including for example, tolerances, measurement error, measurement accuracy limitations and other factors known to those of skill in the art, may occur in amounts that do not preclude the effect the characteristic was intended to provide. It is to be understood that one or more of the steps shown in the flowcharts may be omitted, repeated, and / or performed in a different order than the order shown. Accordingly, the scope disclosed herein should not be considered limited to the specific arrangement of steps shown in the flowcharts. Although multiple dependent claims may not be introduced, it would be apparent to one of ordinary skill that the subject matter of the dependent claims directed to one or more embodiments may be combined with other dependent claims. Applying artificial intelligence technology to analyze data requires availability of a clean dataset that can be used for the training step such as predictive model training. Geological cutting samples description is one of these disciplines where an artificial intelligence algorithm or model can be applied to automate the cutting samples description. Structured documents are a key enabler for any machine learning based prediction from cuttings data. However, unstructured documents contain complex and detailed description of millions of cutting samples. Therefore, structuring these documents is difficult to do manually. In one aspect, embodiments disclosed herein relate to a method for automated text structuring of geological cutting description documents from a plain text to a tabulated format more suitable for a machine learning model training. Embodiments of the present disclosure may provide at least one of the following advantages. Embodiments disclosed herein enable automatically converting unstructured documents (e.g., text / Word files) to structured documents (e.g., tabulated / Excel files). Embodiments disclosed herein enable minimizing subjectivity by constraining the cutting description to approved vocabularies. Lastly, embodiments disclosed herein enable automatically correcting all typographical errors that may result from manual entry of data by geologists and other experts. In the current industry practice, a geological cutting description document is made by a succession of description depth section. FIG. 1 illustrates an exemplary text in a geological cutting description document. Description sections in the geological cutting description document describe cutting samples, collected at regular sampling interval from the shale shaker, starting from the top of the well. A 10 ft cutting sampling interval is very common practice in oil and gas exploration and production. However, this value may vary from one company to another based on several considerations. For a practical consideration, a cutting sample description is not performed for each sample. One aggregate description is usually done for a batch of depth-contiguous samples showing some geological similarities to allow the aggregated description. Subsequently, each description section is made by a depth interval subsection to define the top and the bottom depths in a depth interval as well as a list of lithologies present at that depth interval and their associated percentage ranges within the depth interval. The depth interval subsection is followed by the lithology description subsections: one subsection per present lithology in the described cutting sample from the depth interval. Each description subsection is made by attributes that characterize the cutting sample: a lithology name, a lithology percentage, color, grain size, sorting, porosity, hardness, cement, show properties, etc. A single section of a geological cutting description document is described herein with respect to FIG. 1. FIG. 1 describes a cutting description from depth of 1630ft to 1780ft. The first line is a depth interval subsection, which describes that 80% to 90% of sandstone, traces to 10% of siltstone, and traces to 10% of limestone are present at a depth interval of top at 1630 ft and bottom at 1780 ft. This depth interval subsection is followed by three lithology subsections, which describe properties of lithologies, namely sandstone, siltstone, and limestone, identified in the depth interval subsection. Each lithology description subsection starts with the percentage and the name of a lithology identified in the depth interval subsection as a heading, and lists properties of the lithology. The first subsection describes properties of the sandstone. The second subsection describes properties of the siltstone. The last subsection describes properties of the limestone. In one or more embodiments, each lithology description subsection may contain more than 20 properties. A detailed workflow of converting an unstructured geological cutting description document to a structured document described herein with respect to FIG. 2. FIG. 2 illustrates an exemplary workflow 200 to automate text structuring of a geological cutting description document. In the workflow 200, text files 202 are received by a parsing system 204. In one or more embodiments, the text files 202 may be unstructured geological cutting description documents. The parsing system 204 parses texts from the text files 202, and outputs the parsed texts to output files 212 in a structured / tabulated form. For example, a cutting description document is received by the parsing system 204, which then reads text from the cutting description document and parses the text. Then the parsing system 204 outputs the parsed text to an output file in a tabulated / structured form. In one or more embodiments, in the parsing system 204, the text files 202 are parsed in three passes. In a first pass, the text files 202 are parsed via a dictionary module 206. In a second pass, the text files 202 are parsed via a mapping module 208. In a final pass, the text files 202 are parsed via a correction module 210. In the dictionary module 206, text from the text files 202 are parsed based on a dictionary file; and the parsed text is output to the output files 212. In the dictionary file, a list of approved attribute vales is defined for each attribute with the exception of lithology percentages. Each item in the list is made by one single value that a considered attribute is allowed to take. Table 1 below is an example of contents in the dictionary file. The dictionary file may allow parsing only the subsection with the lithology description. The dictionary file may ensure all the terminologies and vocabularies that will be reported in the structured tabulated documents are approved by a wellsite geologist (the unstructured text document generator). When any sentence from a geological cutting description document is present in the dictionary file, text from the sentence is outputted to a structured output file.
[0007] Table 1 : Dictionary example for Lithology In the mapping module 208, text from the text files 202 are parsed based on a mapping file; and the parsed text is output to the output files 212. In the mapping file, a list of approved attribute value for synonymies is defined for each attribute with the exception of lithology percentages. Each item in the list is made by a couple of values: The first value is the new synonym (accepted value of the attribute but not explicitly defined in a dictionary file since it has already a synonym in the dictionary), and the second value is the old synonym already introduced in the dictionary file. Table 2 below is an example of contents in the mapping file.
[0008] Table 2: Mapping example for lithology In one or more embodiments, the objective of introducing the mapping files is to make outputted structured documents more homogeneous, standard, and compliant to a dictionary. In fact, for a lithology attribute, as an example, a specific lithology defined in the dictionary may have different equivalent and geologically correct names. In geological cutting description documents, for that specific lithology, any text from the synonymous can be used depending on a geologist doing the cutting description. While a physical cutting sample is the same, words or terms for the lithology used by different geologists to describe the sample may be different but still correct. Thus, these synonymies are defined in the mapping file. If any sentence from the text document is present in the mapping file, the associated values from the mapping file is output in the structured output file. In other words, if a sentence from a cutting description document was present in a mapping file, an associated text in the mapping file is outputted to a structured document in a tabulated form. In the correction module 210, texts from the text files 202 are parsed based on a correction file; and the parsed texts are output to the output files 212. By using the defined dictionary and mapping files, consistency of all the outputted structured tabulated descriptions is ensured. However, because of the nature of how a geological cutting description document is generated (z.e., manual, subjective, repetitive, tedious, etc.), spelling mistakes are very frequent in these documents. Usually, the same mistake may occur several times in the same document. For example, Siltston (misspelled) for Siltstone (correct and defined in the dictionary) may be present in the cutting description document. Therefore, in the correction file, a list of approved attribute corrections is defined for each item with the exception of lithology percentages. Each item in the list is made by a couple of values: the first value is a misspelled attribute, and the second value is a correct spelling for that attribute already introduced in a dictionary file. Table 3 below is an example of contents in the lithology correction file.
[0009] Table 3: Correction example for lithology The objective of introducing the correction files is to make an outputted structured document free from a spelling error. If any sentence from the text document is present in the correction file, the associated values from the correction file will be outputted in a structured output file. In other words, if a sentence from a cutting description document was present in a mapping file, an associated text in the mapping file will be outputted to a structured document in a tabulated form. The detailed workflow of the dictionary module 206 is depicted herein with respect to FIG. 3. FIG. 3 illustrates a flowchart of a method 300 of parsing texts based on a dictionary file. Method 300 may be performed by processing logic that includes hardware (e.g., circuitry, dedicated logic, programmable logic, microcode, etc.), software (e.g., instructions run on a processing device to perform hardware simulation), or a combination thereof. In one implementation, the method 400 may be performed by the dictionary module 206 as described with respect to FIG. 2. The method 300 may provide parsing texts based on a dictionary file. In describing the method 300, reference is made to FIGs. 1 and 2 to illustrate an implementation. It is noted the example provided in FIGs. 1 and 2 is meant for illustrative purposes and is not meant to limit the scope disclosed herein. Initially, at block 302, appropriate attributes (texts) for each item are defined. At block 304, a dictionary file is created. As described with respect to FIG. 2, the dictionary module 206 creates a dictionary file with a list of approved attribute vales for each attribute, with the exception of lithology percentages. At block 306, texts are parsed based on the dictionary file. In FIG. 2, texts from text files 202 are parsed based on the dictionary file. At decision block 308, if all information in the text is parsed, the method 300 ends. In FIG. 2, parsing the texts by the dictionary module 206 is done, and the parsed texts / information are subsequently output to the output files 212. Coming back to the decision of block 308, if all the information in the texts are not parsed, the method 300 moves to block 310. At block 310, a warning message indicating that all the information in the texts have not been parsed is generated. The method 300 then moves to decision block 312. A decision block 312, a determination is made as to whether the unparsed information in the text is important. In response, if the unparsed information is not important, the method moves to block 314. At block 314, the unparsed information is output to a skipping file, and then the method 300 ends. Referring back to decision block 312 in FIG. 3, if the unparsed information is deemed to be important, the method moves to block 316. At block 316, the dictionary file is updated with the unparsed information. Then, the method 300 moves back to block 306 to parse the texts again with the updated dictionary file, and blocks 306-316 are repeated as required. As described with respect to FIG. 1 , sometimes, a describer injects his own style in a geological cutting description document by adding personalized subsections (e. , note, remark, etc.). These personalized subsections should not affect or interrupt the workflow from parsing the entire document. The workflow of the dictionary module 206 in FIG. 2 simply ignores these personalized subsections. However, to avoid skipping any potential important information present in the document, warning messages may be output to inform a user about all the unparsed subsections. A user may review these warnings, if any, at the end of each call of the workflow to decide what to do with the unparsed subsections. In one or more embodiments, if the unparsed subsections are not important and must systematically be ignored, unparsed subsections may be output to a skipping file. If the unparsed subsections are very important and must be parsed and reflected in a final outputted structured tabular document, the dictionary file may be updated or an algorithm of the dictionary module 206 may be changed to account for these subsections. A user may manually rewrite the text document to comply with the standard / template expected by the dictionary module 206. In one or more embodiments, a note file may be generated in the dictionary module 206. Despite all the rules defined in the previous steps to parse the text document, sentences in the text document may not be successfully parsed (e.g., long phrases mixing several attributes, non-standard description, etc.). To avoid losing any single piece of information from the original text documents, a note file containing a list of words / phrases is generated. If any sentence from the text contains a word / phrase from the note file, the sentence may be output as a note in a structured output file. In one or more embodiment, workflows of the mapping module 208 and the correction module 210 may be substantially similar to the workflow of the dictionary module 206 depicted in FIG. 3, with the exception of processing of a skipping file. In the dictionary module 206, as described with respect to FIG. 3, a skipping file is generated for unimportant information. In the mapping module 208 and the correction module 210, when an input text is included in the skipping file generated by the dictionary module, the mapping module 208 and the correction module 201 may skip processing / parsing of the input text, and read a next input text for processes of each module. Those skilled in the art will appreciate that the workflow and method described herein may be used iteratively to build an optimal dictionary for core descriptions. In addition, embodiments disclosed herein assume that the unstructured text document from which text is parsed is a completely free style document, without any restriction on the words that may be contained therein. Using the method of FIG. 3, an accurate dataset is provided for automated core properties prediction from core photos using machine learning. Such machine learning algorithms or models may include, but are not limited to, generalized linear models, Bayesian regression, random forests, and deep models such as neural networks, convolutional neural networks, and recurrent neural networks. Machine-learned model types, whether they are considered deep or not, are usually associated with additional “hyperparameters,” which further describe the model. For example, hyperparameters providing further detail about a neural network may include, but are not limited to, the number of layers in the neural network, choice of activation functions, inclusion of batch normalization layers, and regularization strength. Commonly, in the literature, the selection of hyperparameters surrounding a model is referred to as selecting the model “architecture”. Further, the method of FIG. 3 allows for automatic identification of undesired artefacts in the core photos to discard them from the training dataset. Automation is achieved by combining image processing and machine learning. FIG. 4 is a block diagram of a computer system 402 configured to provide computational functionalities associated with a method for automated texts structuring for a cutting description document as described herein. The illustrated computer system 402 is intended to encompass any computing device such as a high performance computing (HPC) device, a server, desktop computer, laptop / notebook computer, wireless data port, smart phone, personal data assistant (PDA), tablet computing device, one or more processors within these devices, or any other suitable processing device, including both physical or virtual instances (or both) of the computing device. Additionally, the computer system 402 includes a computer that includes an input device, such as a keypad, keyboard, touch screen, or other device that can accept user information, and an output device that conveys information associated with the operation of the computer system 402, including digital data, visual, or audio information (or a combination of information), or a GUI. The illustrated computer system 402 is communicably coupled with a network 430 or cloud. In some implementations, one or more components of the computer system 402 are configured to operate within environments, including cloud-computing-based, local, global, or other environment (or a combination of environments). At a high level, the computer system 402 is an electronic computing device operable to receive, transmit, process, store, or manage data and information associated with the described subject matter. According to some implementations, the computer system 402 also includes or is communicably coupled with an application server, e-mail server, web server, caching server, streaming data server, business intelligence (BI) server, or other server (or a combination of servers) via the network 430. Each of the components of the computer system 402 communicates using a system bus 403. In some implementations, any or all of the components of the computer system 402, both hardware or software (or a combination of hardware and software), may interface with each other or the interface 404 (or a combination of both) over the system bus 403 using an application programming interface (API) 412 or a service layer 413 (or a combination of the API 412 and service layer 413. The API 412 includes specifications for routines, data structures, and object classes. The API 412 is either computer-language independent or dependent and refer to a complete interface, a single function, or even a set of APIs. The service layer 413 provides software services to the computer system 402 or other components (whether or not illustrated) that are communicably coupled to the computer system 402. The functionality of the computer system 402 is accessible for all service consumers using this service layer. Software services, such as those provided by the service layer 413, provide reusable, defined business functionalities through a defined interface. For example, the interface is software written in JAVA, C++, VB scripts or other suitable language providing generation of keys. While illustrated as an integrated component of the computer system 402, alternative implementations may illustrate the API 412 or the service layer 413 as stand-alone components in relation to other components of the computer system 402 or other components (whether or not illustrated) that are communicably coupled to the computer system 402. Moreover, any or all parts of the API 412 or the service layer 413 are implemented as child or sub-modules of another software module, enterprise application, or hardware module without departing from the scope of this disclosure. The computer system 402 includes an interface 404. Although illustrated as a single interface 404 in FIG. 4, two or more interfaces 404 are used according to particular heeds, desires, or particular implementations of the computer system 402. The interface 404 is used by the computer system 402 for communicating with other systems in a distributed environment that are connected to the network 430. Generally, the interface 404 includes logic encoded in software or hardware (or a combination of software and hardware) and operable to communicate with the network 430 or cloud. More specifically, the interface 404 includes software supporting one or more communication protocols associated with communications such that the network 430 or interface's hardware is operable to communicate physical signals within and outside of the illustrated computer system 402. Further, the computer system 402 includes at least one computer processor 405. Although illustrated as a single computer processor 405 in FIG. 4, two or more processors are used according to particular needs, desires, or particular implementations of the computer system 402. Generally, the computer processor 405 executes instructions according to a method and an algorithm of parsing and converting texts to perform the operations of the computer system 402 and any algorithms, methods, functions, processes, flows, and procedures as described in the instant disclosure to convert unstructured documents to structured documents. The computer system 402 also includes a memory 406 that stores instructions and output data for the computer system 402 or other components (or a combination of both) that is connected to the network 430. In one or more embodiments, the memory 406 may be a non-transitory computer-readable storage medium. For example, the memory 406 stores a method for automated texts structuring for a cutting description document and its output data consistent with this disclosure. Although illustrated as a single memory 406 in FIG. 4, two or more memories are used according to particular needs, desires, or particular implementations of the computer system 402 and the described functionality. While memory 406 is illustrated as an integral component of the computer system 402, in alternative implementations, memory 406 is external to the computer system 402. The application 407 is an algorithmic software engine providing functionality according to particular needs, desires, or particular implementations of the computer system 402, particularly with respect to functionality described in this disclosure. For example, application 407 serves as one or more components, modules, applications, etc. Further, although illustrated as a single application 407, the application 407 is implemented as multiple applications 407 on the computer system 402. In addition, although illustrated as integral to the computer system 402, in alternative implementations, the application 407 is external to the computer system 402. There are any number of computers 402 associated with, or external to, a computer system containing computer system 402, each computer system 402 communicating over network 430. In some embodiments, the computer system 402 is implemented as part of a cloud computing system. For example, a cloud computing system includes one or more remote servers along with various other cloud components, such as cloud storage units and edge servers. In particular, a cloud computing system may perform one or more computing operations without direct active management by a user device or local computer system. As such, a cloud computing system may have different functions distributed over multiple locations from a central server, which are performed using one or more Internet connections. More specifically, a cloud computing system may operate according to one or more service models, such as infrastructure as a service (laaS), platform as a service (PaaS), software as a service (SaaS), mobile "backend" as a service (MBaaS), artificial intelligence as a service (AlaaS), serverless computing, and / or function as a service (FaaS). For purposes of this disclosure, any element mentioned in the singular also includes the plural. Although some figures depict lines with arrows to represent intra-network or internetwork communication, in other implementations, additional arrows may be included to represent communication. Therefore, the arrows depicted by the figures do not limit the disclosure to one-directional or bi-directional communication. Whereas many alterations and modifications of the disclosure may be apparent to a person of ordinary skill in the art when reading the description, but these examples postulated should not be limiting. Therefore, references to details of various examples are not intended to limit the scope of the claims, which in themselves recite only those features regarded as the disclosure. Although only a few example embodiments have been described in detail above, those skilled in the art will readily appreciate that many modifications are possible in the example embodiments without materially departing from this invention. Accordingly, all such modifications are intended to be included within the scope of this disclosure as defined in the following claims.
Claims
CLAIMSWhat is claimed:
1. A method for automated text structuring for a cutting description document, the method comprising: reading text from the cutting description document; parsing the text from the cutting description document based on a dictionary file to obtain parsed text; outputting the parsed text to a structured document in a tabulated form; in response to a sentence in the text from the cutting description document including a first text in a mapping file, outputting a first associated text in the mapping file to the structured document in the tabulated form; and in response to a word or phrase in the text from the cutting description document matching a second text in a correction file, outputting a second associated text in the correction file to the structured document in the tabulated form, wherein the cutting description document is an unstructured document.
2. The method according to claim 1, wherein the parsed text comprises at least a lithology, a color, a grain size, a porosity, a hardness, a sorting, a cement, and a show property.
3. The method according to claim 1 , further comprising: outputting a warning message when there remains unparsed information from the cutting description document.
4. The method according to claim 3, further comprising: determining whether the unparsed information is important; and outputting the unparsed information to a skipping file when the unparsed information is not important.
5. The method according to claim 3, further comprising: updating the dictionary file and parsing the unparsed information, when the unparsed information is important.
6. The method according to claim 3, further comprising: in response to the unparsed information being unimportant, outputting the unparsed information to a note file.
7. The method according to claim 6, further comprising: outputting the note file to the structured document in the tabulated form.
8. The method according to claim 1 , wherein the mapping file comprises a list of new synonymies, and a list of old synonymies introduced in the dictionary file.
9. The method according to claim 8, wherein the first text is from the list of the new synonymies, and the first associated text is from the list of the old synonymies.
10. The method according to claim 1 , wherein the structured document in the tabulated form is used to provide a clean dataset for machine learning models.
11. A non-transitory computer readable medium storing instructions executable by a computer processor, the instructions comprising functionality for: reading text from a cutting description document; parsing the text from the cutting description document based on a dictionary file to obtain parsed text; outputting the parsed text to a structured document in a tabulated form; in response to a sentence in the text from the cutting description document including a first text in a mapping file, outputting a first associated text in the mapping file to the structured document in the tabulated form; and in response to a word or phrase in the text from the cutting description document matching a second text in a correction file, outputting a second associated text in the correction file to the structured document in the tabulated form, wherein the cutting description document is an unstructured document.
12. The non-transitory computer readable medium according to claim 11 , wherein the parsed text comprises at least a lithology, a color, a grain size, a porosity, a hardness, a sorting, a cement, and show properties.
13. The non-transitory computer readable medium according to claim 11 , further comprising instructions for: outputting a warning message when there remains unparsed information from the cutting description document.
14. The non-transitory computer readable medium according to claim 13, further comprising instructions for: determining whether the unparsed information is important; and outputting the unparsed information to a skipping file when the unparsed information is not important.
15. The non-transitory computer readable medium according to claim 13, further comprising instructions for: updating the dictionary file and parsing the unparsed information, when the unparsed information is important.
16. The non-transitory computer readable medium according to claim 13, further comprising instructions for: in response to the unparsed information being unimportant, outputting the unparsed information to a note file.
17. The non-transitory computer readable medium according to claim 16, further comprising instructions for: outputting the note file to the structured document in the tabulated form.
18. The non-transitory computer readable medium according to claim 11 , wherein the mapping file comprises a list of new synonymies, and a list of old synonymies introduced in the dictionary file.
19. The non-transitory computer readable medium according to claim 18, wherein the first text is from the list of the new synonymies, and the first associated text is from the list of the old synonymies.
20. The non-transitory computer readable medium according to claim 11, wherein the structured document in the tabulated form is used to provide a clean dataset for machine learning models.
Citation Information
Patent Citations
Document parsing method and device
CN108614898A
System and method for analyzing and tracing molding process data of autoclave
CN111730882A
Method and apparatus for expanding dictionaries during parsing
US20040034525A1
Method and apparatus for structuring texts
US20040117734A1
Determining whether to relocate data to a different tier in a multi-tier storage system
US20110282830A1
