Natural Language Processing

Unstructured – document parsing and preprocessing library

Unstructured is a document processing library designed to extract and organize information from files containing text, images, tables, and other content. It transforms documents from different formats into structured elements that can be processed by downstream applications.

The library is particularly useful for preparing documents for search systems, information extraction, retrieval-augmented generation, and language model workflows. Instead of treating every document as an undifferentiated block of text, it attempts to preserve meaningful document components such as headings, paragraphs, lists, and tables.

Unstructured provides a common processing interface across multiple document types, reducing the need to develop separate extraction workflows for each format. Its modular architecture allows document processing pipelines to combine parsing, cleaning, and segmentation operations.

This is free and open source software.

Key Features

  • Extracts content from PDFs, Word documents, PowerPoint presentations, spreadsheets, HTML, and other document formats.
  • Processes plain text, Markdown, XML, JSON, email messages, and image-based documents.
  • Automatic file type detection selects an appropriate document partitioning function.
  • Partitions documents into structured elements such as titles, narrative text, list items, and tables.
  • Preserves available metadata associated with extracted document elements.
  • PDF processing supports different extraction strategies for varying document layouts.
  • Optical character recognition enables text extraction from scanned documents and images.
  • Document layout analysis helps identify distinct regions and content types.
  • Text cleaning functions normalize whitespace and remove unwanted formatting artifacts.
  • Chunking facilities divide extracted content into manageable segments for downstream processing.
  • Title-aware chunking uses document structure to determine appropriate segment boundaries.
  • Table handling supports the extraction and processing of tabular document content.
  • Configurable processing functions support different file types and extraction requirements.
  • Document elements can be converted into structured representations suitable for further analysis.
  • Integration facilities support document ingestion and preprocessing workflows.

Website: github.com/Unstructured-IO/unstructured
Support:
Developer: Unstructured and contributors
License: Apache License 2.0

Unstructured is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Python Natural Language Processing Tools
PyTorch-TransformersLibrary of state-of-the-art pre-trained models for NLP
NLTKNatural Language Toolkit
spaCyIndustrial strength natural language processing
scikit-learnMachine learning library
HaystackAI orchestration framework
GensimVector space modeling and topic modeling toolkit
flairSimple framework for state-of-the-art NLP
TextBlobPython (2 and 3) library for processing textual data
doccanoData labelling and text annotation platform
BERTopicTopic modeling
textacyPython library for performing NLP tasks
PresidioData protection and de-identification SDK
polyglotMultilingual text (NLP) processing toolkit
AllenNLPApache 2.0 NLP research library
Snips NLUNatural Language Understanding Python library
PyNLPIVarious modules useful for common, and less common, NLP tasks
nlpnetNatural Language Processing with neural networks
PatternWeb mining module
GluonNLPDeep Learning for NLP
PyTorch-NLPNeural network layers, text processing modules and datasets
NLP ArchitectDeep Learning NLP/NLU library

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted