Added NLP-Based Section Matching and Data Extraction Logic Proof of Concept #125
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #99
What was changed?
Why was it changed?
The current rule-based system needs to be replaced with a more robust solution that can maintain accuracy, scale easily and efficiently, and reduce maintenance. Based on the analysis from Issue #98, implemented an NLP-based system for extracting data from ORCA log files as a proof of concept.
How was it changed?
Files added: orca_log_processor.py - Contains the implementation of the ORCALogProcessor class.
Key Functionalities Added:
Using Natural Language Processing (NLP), improved data extraction from text files, particularly when dealing with variations in section names (e.g., "INNER ENERGIES" vs "INNER ENERGY"). Here’s what is done:
Future Improvements for Data Extraction
As this is a Proof of Concept (POC), further improvements can include:
Screenshot
Input:
search_term: GIBBS FREE ENERGIES
lines_specified: FIRST 30
sections: 1, 2, 3
Preview Document Output: