Article

October 09, 2026

Capturing keywords in lessons learned from projects: Text Mining and NLP in strategic decision making

Capturing Keywords in Project Lessons Learned: Text Mining and Nlp in Strategic Decision Making

Luiz Felipe de Moura Mesquita; Gustavo Dantas Lobo

DOI: 10.22167/2675-6528-202603210

Article derived from a Course Conclusion Work (TCC), with content based on the student’s original work and adapted to the editorial format of the E&S Magazine with the support of the ResumeAI tool, an artificial intelligence solution developed by Instituto Pecege for textual synthesis and organization.

Summary

This study explored the potential of lessons learned from previous projects, often overlooked or filled out merely to comply with organizational processes. The underutilization of this information was identified as a central problem, contributing to the repetition of errors, increased risks, and a nebulous scenario in decision-making for project and sales areas. In this context, a solution based on a machine learning algorithm was developed, implemented in Python, with the objective of generating actionable insights for future project management and improving proposal creation in Request for Proposal (RFPs) processes. To this end, a methodology was adopted that collected, delimited, and processed the data using Text Mining techniques. The information was standardized to English, individual sentiment analysis was performed, and the data were grouped by project type. The interpretation was demonstrated through sentiment scatter plots, heat maps, and word clouds, highlighting recurring positive and negative terms by category. This approach provided a visual analysis that supported decision-making, facilitating the identification of patterns, risks, and areas for improvement. As a result, a future scenario of possible challenges for the management and prospecting of a certain type of project was created, and the methodology proved to be replicable for other areas of the organization and post-project review databases.

Keywords: Sentiment analysis; Project Management; Innovation; Artificial Intelligence; Post-project reviews.

1. Introduction

The lessons learned in previous projects are often neglected or filled out merely to comply with organizational processes. This underutilization of information contributes to the repetition of errors, increased risks, and the creation of an uncertain scenario for decision-making in the project and sales areas. As Santayana (1905) stated, individuals who cannot remember the past are condemned to repeat it.

In this context, documents such as post-project reviews, error reports, and satisfaction surveys represent a valuable source of data and knowledge for organizations. However, for them to be effective, these documents need to be read and analyzed efficiently, without demanding excessive resources and time. The application of machine learning algorithms, such as Text Mining and Natural Language Processing (NLP), makes this exploration fast and efficient, allowing the identification of patterns, errors, successes, and insights that can benefit future projects.

The evolution of Artificial Intelligence (AI) systems, combined with the increased availability of data and computational power, makes the adoption of tools like Text Mining not only viable but necessary for capturing important information in documents with large datasets, aiding in business decision-making (Silahtaroglu, 2019). Through the vectorization technique, Text Mining structures textual data, converting it into tabular formats using machine learning algorithms. This enables data treatment regarding word frequency, importance, similarities, categorization, sentiment analysis, translation, and summarization, among other functionalities (Silahtaroglu, 2019).

Sentiment analysis, a component of Text Mining, is performed through the area of AI study known as NLP. NLP is responsible for the interaction between humans and machines, enabling the understanding of natural language (Silahtaroglu, 2019). The relationship between NLP, machine learning, and linguistics makes it possible to perform tasks such as language translation, text generation, and sentiment analysis, following specific procedures (Seefeld, 2025).

Despite significant advances in Text Mining and NLP, driven by probabilistic introduction and machine learning models such as Support Vector Machines (SVMs) and Deep Learning (DL), including Transformer models (BERT, GPT), challenges still persist. These include ambiguity, understanding context and semantics, dialect diversity, bias, ethical concerns, and computational limitations (Seefeld, 2025). These gaps indicate the need for approaches that enhance the ability to extract value from complex textual data.

Given the problem of underutilization of lessons learned and the challenges inherent in natural language processing, this study is justified by the need to develop solutions that transform textual data into actionable information to improve project management. The present case study aims to explore the potential of lessons learned from previous projects, developing a solution based on a machine learning algorithm, implemented in the Python language, to produce actionable insights that help mitigate risks, reduce the repetition of errors, and improve decision-making in the organization’s project and sales areas.

2. Material and Methods

This case study adopted a quantitative and comparative methodological approach, aiming to explore the potential of lessons learned from previous projects. It sought to identify and monitor the reduction of errors or the increase in correct answers in Project Management, before and after the implementation of a machine learning algorithm in the organization’s lessons learned knowledge base. The research also had an exploratory nature to identify problems and build hypotheses.

The unit of analysis consisted of the lessons learned knowledge base, composed of records of errors, successes, and impediments documented at the closing of projects. The study was conducted in a multinational technology company, focusing on the Project Management Office (PMO) and Customized Services Sales departments of the Brazilian subsidiary, located in Barueri, São Paulo.

Data collection was performed manually, by exporting information from the Microsoft Sharepoint program to the Comma Separated Values (CSV) format. This database contained records of approximately 50 projects, covering the period from 2020 to 2025. Automated export via Python was not authorized due to internal security policies.

For the processing and analysis of the data, the methodologies of Text Mining and Natural Language Processing (NLP) were employed, structured in three implementation phases. The first phase focused on exploratory research and data delimitation, using the Python language for Text Mining routines.

In this initial phase, the lessons learned knowledge base was delimited to remove sensitive information, ensuring confidentiality and non-traceability. The variables “Project Type”, “review_positive”, and “review_negative” were selected, restructuring the original base. Null values were identified in 25% of the records and spelling inconsistencies, reducing the base to 35 valid records. The standardization of encoding to UTF-8 was adopted.

The second phase of the study applied the NLP methodology to classify and group the extracted data. Truncated records were removed and the text converted to lowercase. Then, the texts were standardized to the English language, via the Google Translator Application Programming Interface (API). To circumvent the 5000-character limitation per request, the script divided the texts into “chunks” of up to 4500 characters.

The individual sentiment analysis of project “feedbacks” was conducted using a pre-trained Transformers model, specifically XLM-ROBERTa, trained on social media messages. This model evaluated the semantic context of the sentences, generating a probability of belonging to the sentiment categories: positive, neutral, or negative (Silahtaroglu, 2019; Seefeld, 2025). The final sentiment value was calculated by multiplying the sentiment class (+1, 0, -1) by the confidence, and the aggregated polarity of each project by the sum of sentiments.

The calculated polarity was transformed into interpretable categories by a sensitivity threshold of 0.15: “More positive” (>0.15), “More negative” (<-0.15), and “Mixed/Neutral” (all other cases). In this phase, no cleaning or “stopwords” removal functions were applied to avoid semantic inversion.

The third and final phase deepened the sentiment analysis in a grouped manner, identifying the most recurrent positive and negative words within each project group. For this, a data cleaning function (removal of punctuation and numbers) and text preprocessing techniques (removal of “stopwords” and lemmatization) were applied. The n-grams technique (unigrams) was employed to analyze word polarity and generate word clouds.

After base treatment, sentiment analysis filtered and classified words according to their semantic load, adopting polarity criteria: greater than 0.1 (positive), equal to 0.0 (neutral), and less than 0.0 (negative). The routines were implemented in Python, using libraries such as Pandas, Numpy, Spacy, NLTK, deep_translator, Transformers, Pytorch, TextBlob, WordCloud, and Matplotlib. The developed source code is available in a public repository.

3. Results and Discussion

The application of the methodological steps outlined in the study allowed for the development and execution of a Python script, which processed a database of lessons learned provided by the organization. This process revealed the technical and operational feasibility of the proposed solution to transform textual data into actionable insights, in line with the central objective of the research. The libraries Pandas, Numpy, Spacy, NLTK, deep_translator, Transformers, Pytorch, TextBlob, WordCloud, and Matplotlib were fundamental for exploratory data analysis and data treatment, supporting the various phases of the algorithm.

Initially, the data collection and delimitation phase revealed that the original database consisted of 50 records and 16 variables, encompassing both categorical and numerical information. To ensure confidentiality and non-traceability, the database was restructured, extracting only three essential variables: “Project Type”, “review_positive”, and “review_negative”. This delimitation was crucial for focusing the intragroup sentiment analysis, without compromising the privacy of the projects, managers, and other stakeholders, according to the logic of the data processing.

During the delimitation, the presence of null values was identified in approximately 25% of the records, with 17% in the “review_positivo” variable and 34% in “review_negativo”. Additionally, data inconsistencies, such as spelling variations and the use of uppercase and lowercase letters, reduced the dataset to 35 valid records. The lack of standardization in the official language of data entry (Portuguese or English) was another significant challenge, requiring specific treatment in subsequent phases to ensure the uniformity and quality of the database.

The second phase of the study focused on applying the Natural Language Processing (NLP) methodology to classify and group the data. Records with truncated information were removed and all text was converted to lowercase, preparing the base for translation and standardization. The conversion from Portuguese to English was performed using the Google Translator API, overcoming the 5000-character limit per request by dividing the texts into “chunks” of up to 4500 characters, ensuring the safety of the process.

The individual sentiment classification of project “feedbacks” was performed through a Transformer-based Sentiment Analysis, using the pre-trained XLM-ROBERTa model. This model, trained on social media messages, evaluated the complete semantic context of the sentences, generating a probability of belonging for each of the three sentiment categories: positive (+1), neutral (0), or negative (-1). The final sentiment value was calculated by multiplying the class by the confidence, and the project’s aggregated polarity was obtained by summing the positive and negative sentiments.

The calculated polarity was then categorized as “More positive” (if polarity > 0.15), “More negative” (if polarity < -0.1), neutral (polarity = 0.0), and negative (polarity < 0.0). Although the n-gram technique (unigram, bigram, and trigram) was considered, the Unigram technique was established for generating more recurrent word clouds. However, the sentiment analysis via TextBlob, initially employed, proved ineffective for texts in Portuguese, eliminating most words and not adding significant value, especially negation and intensity terms.

The ineffectiveness of TextBlob for the Portuguese language context, as also observed by Liu (2012) in research with unsupervised lexical models, led to the decision to eliminate probabilistic sentiment analysis and focus on the frequency of the most recurrent words. This approach allowed for a more precise identification of the projects’ “pains” (negative words) and “gains” (positive words), providing more actionable insights for the project and sales areas.

In the “Move” category, recurring positive words such as “partner” and “customer engineer” (CE) indicated that the empowerment of these actors contributed to excellence in project delivery. On the other hand, negative terms like “change”, “integration”, and “planningmeeting” were interpreted as opportunities for improvement, pointing to challenges such as scope changes, difficulties in integrating employees into the client’s Data Center, and limitations in the equipment list during project planning.

For the “Migration” category, positive highlights included “partner”, “consultant”, and “firmware”, while pain points were represented by terms such as “delay”, “infrastructure”, and “period”. This distinction between positive and negative terms by project category provided a solid foundation for exploring specific areas that require attention or that can be replicated as best practices.

Monitoring the variation in word frequency, comparing the initial base (baseline) with new generated bases, allowed us to identify the evolution of terms. In the “migration” category, the inclusion of the word “service” as a new highlight, the increase in the frequency of “without”, and the elimination of “rollback” were observed, indicating a resolved pain point. Most of the other terms remained stable, suggesting that the word frequencies of the baseline did not change significantly.

In the “move” category, monitoring revealed that the terms “change” and “move” had an increase in their frequency, indicating that these “pains” persisted or intensified between the analyzed periods, requiring prioritization for in-depth qualitative analysis. The vast majority of other terms remained stable, which indicates that there was no repetition of errors that increased the frequency of these terms, reinforcing the importance of focusing on exceptions for strategic interventions.

The study demonstrated the technical and operational feasibility of using the Python script to analyze the lessons learned database, generating 6 recorded queries that reinforce the product’s utility. The qualification of the database and the identification of more challenging or promising project categories, through sentiment analysis, allowed for the creation of valuable insights. This data was used by the PMO and sales teams to assist in the development of risk maps and service proposals, especially in response to migration RFPs, providing crucial support for the definition of premises.

Despite the promising results, some limitations were identified. The adaptation of the script to divide texts into “chunks” of up to 4500 characters for translation, although it solved the 5000-character limit per request, may generate computational demand in larger databases. It is recommended to switch to a library that does not impose such a limit. Furthermore, the pre-trained Transformers model, not having been originally trained with specific project evaluation data, may present small losses in precision due to the differences between the training domains and the analyzed domain.

The generation of actionable insights, based on the frequency of the most recurrent words, can, in some cases, include terms that are not significant for risk management or decision qualification, even after cleaning and removing “stopwords”. This requires periodic evaluation of the results and manual updating of the “stopwords” list in the algorithm. The study, by demonstrating these results, reinforces the importance of applied data science for obtaining a competitive advantage, and the developed methodology is replicable for other areas of the organization and post-project review databases, such as satisfaction surveys and incident reports.

4. Conclusion

This study sought to explore the potential of lessons learned in previous projects, developing a solution based on a machine learning algorithm to generate actionable insights in project management and proposal creation. The technical and operational feasibility of implementing a Python script was verified, which, through Text Mining and Natural Language Processing techniques, collected, processed, and standardized textual data from post-project reviews for the English language. Sentiment analysis, using the XLM-ROBERTa model, allowed for project classification and identification of success patterns and challenges, such as the excellence of “Move” type projects and difficulties in “Hyperconvergence” and “Migration”. Recurring positive and negative terms were identified, such as “partner” and “customer engineer” for gains, and “change” and “delay” for pain points. This approach generated six registered queries, qualifying the database and providing subsidies for the elaboration of risk maps and service proposals, especially in migration Request for Proposals, demonstrating the replicability of the methodology for other organizational databases.

Despite the promising results, the study faced limitations, such as the computational demand generated by dividing texts into “chunks” for translation in larger databases, suggesting the adoption of libraries without such restrictions. It was also observed that the pre-trained Transformers model, not being specific for project evaluation, may present small accuracy losses. Additionally, the generation of actionable insights by word frequency may include non-significant terms, demanding periodic evaluation and manual updating of the “stopwords” list. For future studies, it is recommended to expand the methodology to other areas of the organization and post-project review databases, such as satisfaction surveys and incident reports. Implementation in production and integration with databases from other countries, including the translation of new languages and improvement of the algorithm to suggest action plans, represent the next technical challenges. Furthermore, the adaptation of organizational culture to data-driven decision-making and automation is a crucial human challenge for the full utilization of the potential of data science.

Bibliographic References

Liu, B. (2012). *Sentiment Analysis and Opinion Mining*. 1. ed. Morgan & Claypool Publishers, Chicago, Estados Unidos.

Santayana (1905) [Referência completa não encontrada no documento original]

Seefeld, K. Dr. (2025). *Concepts of NLP and Text Analytics*. 1. ed. Independent Publisher, Hampshire, Estados Unidos.

Silahtaroglu, G. (2019). *Concepts of text Mining*. 1. ed. Independent Publisher, Turquia.

Article originating from the Final Course Project of the Specialization in Data Science and Analytics of the MBA USP/Esalq

To learn more about the course, click here and access the MBX Academy platform

You may also like

Executive Mba In Leadership And Management

November 23, 2026

Improvements in the efficiency of a secondary biological sludge drying plant

The management of industrial solid waste, especially secondary biological sludge, represented an operational and strategic challenge for a company in the pulp and paper sector. A secondary biological sludge drying plant, installed to meet environmental requirements and reduce costs, operated with low efficiency and high unavailability. The objective of this study was to evaluate and propose a set of actions to increase the operational availability of the plant, ensure the integral processing of the generated sludge, and reduce treatment and transportation costs, in addition to mitigating environmental risks. To this end, an analysis of the root causes of low efficiency was carried out, using tools such as the cause-and-effect diagram (Ishikawa) and the “5 whys” analysis, and hypotheses were tested to identify the most impactful factors. Three main root causes were identified: addition of low-load effluent to the process, absence of a dedicated maintenance team, and lower consistency of dewatered sludge. The proposed countermeasures, which included stopping the addition of effluent, hiring a maintenance team, and testing polymers, had a monthly implementation cost of R$ 35,000.00. An annual reduction in operating expenses of up to R$ 1,800,000.00 and maintenance costs of R$ 600,000.00 was estimated, in addition to a 25% reduction in operational unavailability. It was concluded that the proposed measures are viable, quick to implement, and capable of ensuring the integral processing of secondary biological sludge, strengthening the company’s ESG strategy and ensuring environmental compliance.

Keywords: Operational costs; Operational efficiency; ESG; Biological sludge; Sludge drying.

Data Science And Analytics For Operations

November 19, 2026

Polyp-YOLO: an efficient, low-latency detector for polyps in colonoscopies

The early detection of colorectal polyps is crucial for the prevention of colorectal cancer, and real-time computer-aided detection (CADe) systems have shown gains in endoscopic practice. The objective was to develop and validate a lightweight colorectal polyp detector, based on the YOLO architecture, capable of operating on restricted hardware with high precision and low latency. The methodology used public datasets of endoscopic images, partitioning the Kvasir-SEG dataset for training and internal validation, and CVC-ClinicDB and ETIS-Larib Polyp DB for cross-dataset evaluation. Lightweight variants of the YOLOv8, YOLO11, and YOLO26 families with 640×640 pixel input were evaluated. A grid search tested 70 combinations of optimizers and activation functions, and identified AdaBelief and LeakyReLU as the configuration with the best generalization. The optimization pipeline applied unstructured pruning, knowledge distillation, and fine-tuning. The optimized YOLO11n-seg model outperformed the higher-capacity architecture (YOLO26m-seg) in mAP50 and showed similar performance in F1-Score, operating with approximately seven times fewer parameters. It achieved an mAP50 of 0.7929 and an F1-Score of 0.7514 on the ETIS-Larib dataset, and fast inference was demonstrated in different formats, with real-time latencies. The explainability of predictions was validated by Grad-CAM activation maps. The proposed solution demonstrated itself to be a promising experimental tool for diagnostic support, with technical feasibility for integration into environments with reduced computational power, although it requires future clinical validation.

Keywords: Computer-aided detection; Edge computing; Hyperparameter optimization; Endoscopic image segmentation; Medical computer vision.

Data Science And Analytics For Operations

November 19, 2026

Multi-touch Attribution in E-commerce: A Comparison between Markov Chains and Last-Click

The research investigated Multi-touch Attribution (MTA) Models in e-commerce, seeking to overcome the limitations of the Last-Click model, widely used in the market. The objective was to compare the performance of first-order Markov Chains with Last-Click and Position-Based approaches, identifying the value of assistance channels frequently ignored. To this end, Markov Chain algorithms were applied to a large volume of purchase journey data from the Google Merchandise Store, extracted via BigQuery. The study probabilistically mapped the purchase journey and calculated the Removal Effect to quantify channel relevance. The results demonstrated that data-driven models identified the strategic role of discovery (awareness) and assistance channels, which Last-Click neglected in 65% of complex journeys. Simulated financial analysis indicated an approximate 28% hidden efficiency in Cost Per Acquisition (CPA) for Paid Search, compared to the Last-Click model. It was concluded that Markov Chains allowed for a more accurate mapping of purchase journeys, validating the technical feasibility of the modeling and providing evidence for more efficient budget allocation in digital media, mitigating the risk of early divestment in crucial channels.

Keywords: Assistance channels; Data science; E-commerce; Digital marketing; Media optimization.

Project Management

November 19, 2026

Integrated Software for Operational Communication and Control: Practical Evidence in a Medium-Sized Company

The study analyzed the impacts of the lack of integration between commercial and operational modules of an integrated management software (ERP/CRM) in a medium-sized company in the mechanical engineering sector. The main objective was to evaluate practical evidence of communication and operational control optimization, identify bottlenecks, and formulate improvement proposals. A qualitative-quantitative approach was adopted through a single case study with documentary research, based on the extraction and filtering of historical task records from the Bitrix24 software and statistical correlation analysis between workload and allocated team. Based on the diagnosis, an action plan structured in the 5W2H tool was developed. The results revealed that 54.4% of the registered tasks consisted of duplicate, test, or practically useless records, generated by manual insertion during the scope transition between commercial CRM and engineering. It was also demonstrated that the increase in the commercial team linearly accompanied the growth of inefficient tasks, polluting the database and masking the organization’s real productive capacity. It was concluded that the automation of workflows and native integration between modules are essential to mitigate operational and financial risks, providing replicable guidelines for data governance in small and medium-sized enterprises.

Keywords: System Customization; Enterprise Resource Planning (ERP); Task Management; Management Software.

Project Management

November 19, 2026

Supervised learning in voltammetric quantification with electrochemical sensors

The application of supervised learning in the voltammetric quantification of paraquat in artificial urine was evaluated. The study aimed to quantitatively assess the predictive performance of supervised learning models compared to a univariate “baseline”, preserving independence between devices in the training and testing sets. The research was conducted as an applied case study, processing data from four physical devices, each evaluated under a blank condition and six paraquat concentration levels, totaling 28 square wave voltammetry (SWV) curves. A computational “pipeline” integrated automated file reading, organization of curves into current-potential matrices, generation of potential maps, and device-specific blank correction. Five approaches were considered: conventional univariate calibration, predictive univariate “baseline”, partial least squares (PLS) regression, support vector regression (SVR), and random forest (RF). Predictive evaluation was performed using device-grouped cross-validation. PLS showed the best predictive performance for curves from a device not used in training, with an R² of 0.7981. RF exhibited intermediate performance, while SVR and the predictive univariate “baseline” showed inferior and similar performance between themselves. It was concluded that a compact multivariate representation of the voltammetric profile was more favorable for inter-device prediction than increasing model flexibility under the studied conditions. Grouped validation preserved independence, but the limited number of devices restricts the generalization of results.

Keywords: Supervised learning; Paraquat; PLS; Electrochemical sensors; Square wave voltammetry.

Project Management

November 19, 2026

Improvement of Inventory Management via Lean Six Sigma: Study in the Paper Industry

Organizations seek methodologies to reduce waste, increase efficiency, and become more competitive, promoting sustainable improvements in their processes. In this context, the study aimed to apply the Lean Six Sigma methodology, through the DMAIC cycle, to improve inventory management in a company in the paper industry manufacturing pneumatic hoses, aiming to increase the accuracy between physical and systemic inventories and improve the visual management of parts storage. The research was developed from the collection and analysis of data extracted from the company’s ERP system. Tools such as SIPOC, Ishikawa Diagram, and 5 Whys were used to define and identify the root cause of the problem. As improvement proposals, a Digital Kanban system and an adaptation of the Two-Bin system, called the Three-Bin System, were implemented, in addition to the development of standardized operating procedures and the establishment of control mechanisms. The results demonstrated a significant improvement in inventory accuracy, raising the lowest identified index from 28% to 80%, and detected discrepancies between systemic and physical records equivalent to R$ 134,335.53. It was concluded that the application of Lean Six Sigma, combined with Project Management, represented an effective approach for conducting operational improvement projects, contributed to increased reliability of inventory information, to the improvement of material control processes, and to the strengthening of the organization’s operational management.

Keywords: Inventory accuracy; DMAIC; Visual management.

Data Science And Analytics For Operations

November 19, 2026

Predictive Analysis Methodology for Performance Optimization in E-commerce: Correlation between Public Data and Paid Media

A predictive analysis methodology was developed for e-commerce, integrating transactional data and public search trends. The objective was to develop and validate a predictive model, based on machine learning algorithms, capable of correlating organic search trends with sales performance and paid media costs in the Beauty and Health category of Brazilian e-commerce. The Brazilian E-Commerce Public Dataset by Olist and data from Google Trends were used, processed in Python with the Random Forest Regressor algorithm. A moderate inverse correlation (r = -0.43) with a seven-day lag was identified between organic search volume and purchase. Initial models, based solely on behavioral variables, presented insufficient metrics (R² = -0.47; MAE of R$ 2,120.54). The incorporation of microeconomic (average ticket and shipping) and macroeconomic (exchange rate and Ibovespa index) variables raised the R² of the final model to 0.29, with an MAE of R$ 1,489.63, representing a 24.7% reduction in error compared to the baseline. Temporal cross-validation showed that, in periods of mature operation (2018), the model achieved an R² of 0.42. It was concluded that isolated search volume explains the moment of consumer interest, but not the financial magnitude of sales, making the fusion with transactional and economic data mandatory for predictive viability.

Keywords: Beauty and Health; Consumer Behavior; Google Trends; Machine Learning; Time Series.