Skip to content
#small language model Open access

Use of natural language processing to extract uterine weight from pathology reports.

Oct 2026 · International journal of gynaecology and obstetrics: the official organ of the International Federation of Gynaecology and Obstetrics · 0 citations · 22 references
Medicine

TL;DR

Natural language processing followed by simple CART can accurately extract total uterine weight from narrative pathology reports, and a small number of reports with data quality issues specific to low-weight specimens should be excluded or subjected to manual adjudication.

Abstract

INTRODUCTION For patients requiring hysterectomy, uterine weight is an important factor affecting surgical complexity and surgical outcomes. However, uterine weight is not readily available for analysis in administrative databases. In the present study, we use natural language processing to extract uterine weight from narrative pathology text.

Methods

Pathology text was obtained for 5000 patients sampled ±3 days of hysterectomy from hospital administrative datasets. The gross pathology subsections that describe the submitted tissues were retained for analysis. Manual annotation was performed to create a gold standard dataset. The texts were pre-processed, tokenized (split into words and punctuation), and tagged with parts-of-speech (e.g., noun, verb, number, adverb). Numeric tokens were retained for analysis. Feature engineering (e.g., variable construction and selection) included creating subspecimen flags, three tokens before and after the numeric tokens, weight units, and the prefix "weigh." Models included classification and regression trees (CART), extreme gradient boosting (XGB), and CatBoost, trained on 75%, validated on 15%, and tested in a 10% hold-out dataset. Performance on a real-world application was assessed for all hysterectomies performed over a 4-year period.

Results

Trained on all numeric tokens using features determined a priori, CART had 99.1% precision and 100% recall, with eight false positives. XGB performed similarly (99.3% precision; 99.9% recall). Performance was best using CatBoost's ordered target encoding and all values of the previous and subsequent three tokens (99.8% precision; 100% recall). Applied to the test dataset, CART slightly outperformed CatBoost with two fewer false positives. Summing all weights in the test set reports (n = 474), the extracted total specimen weight was a mean 9.4 g higher than the truth, owing predominantly to duplicate weights (22/37 discrepant reports). Application in the real-world dataset (n = 57 546) identified a small number of reports with data quality issues specific to low-weight specimens that should be excluded (≤10 g) or subjected to manual adjudication (>10 to ≤15 g).

Conclusion

Natural language processing followed by simple CART can accurately extract total uterine weight from narrative pathology reports. Further work is needed to extract specific anatomic weights.

Read PDF

Similar papers

#small language model Dataset Open access Oct 2026

Socratic guiding questions in synthetic arithmetic data: matched LoRA runs (revision v2)

Supporting data, adapters, predictions and code for the article *Low-Cost LoRA Fine-Tuning of Small Language Models for Multi-Step Arithmetic Reasoning* by Jake O'Grady, Asena Isik Gürhan, Chee Fong Ting and Effirul Ramlan (University of Galway). We generated 20,000 GSM8K-derived arithmetic problems with step-by-step s...

O'Grady, Jake, Gürhan, Asena Isik, Chee, Fong Ting et al. · 465 citations
#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#computer vision Open access Feb 2018

Lean Internal Startups for Software Product Innovation in Large Companies: Enablers and Inhibitors

This study investigates how Lean internal startup facilitates software product innovation in large companies and identifies its enablers and inhibitors, and shows the potential of the method-in-action framework to investigate the Lean startup approach in non-startup context.

Henry Edison, Nina M. Smørsgård, Xiaofeng Wang et al. · 78 citations · ⚡6

Related blog posts

MIT News · Artificial Intelligence Oct 15, 2026

AI model decodes the language cells use to communicate

A new computational approach reveals how cells communicate to assemble into tissues. This could accelerate stem cell engineering, improve disease models, and inform therapies.

Microsoft Research Blog Oct 15, 2026

Proof-based general-purpose computing with Magnetar

Zero-knowledge proofs can verify computing results without rerunning workloads or exposing sensitive data. Magnetar helps bring them into the mainstream with support for standard programming languages, major speed gains, and quantum-resistant security. The post Proof-based general-purpose computing with Magnetar appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.