skillfed

deepsearch-glm

Graph Language Models

deepsearch-glm v1.0.0 92.2K downloads/30d#13,472 on PyPI
Permissive license MIT DORMANT released

What it is and what it does

deepsearch-glm is a Python library for extracting structured linguistic information—entities, relations, terms, and sentences—from unstructured text and documents using pretrained neural language models. It processes raw text or JSON-converted documents to identify and annotate linguistic elements like named entities, expressions, and numeric values, then optionally constructs knowledge graphs from these extracted components across document collections.

The package provides two main workflows: direct NLP analysis on text snippets or full documents (returning pandas DataFrames with entity types, confidence scores, and character offsets), and graph construction from entity and relation annotations across multiple documents. It includes utilities for working with Deep Search document conversion and offers both Python bindings and C++ executables for batch processing.

Use it for:

  • Extract named entities, terms, and linguistic structures from research papers or technical documents for downstream analysis.
  • Build knowledge graphs from patent or scientific literature collections to map relationships between concepts and entities.
  • Analyze document collections to identify and annotate domain-specific terminology and expressions at scale.
  • Convert unstructured text into structured, queryable linguistic annotations for information retrieval or semantic search.
  • Enrich PDF documents with NLP metadata (entities, relations, confidence scores) for indexing or downstream ML pipelines.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Extracts entities, relations, and linguistic structures from text and documents using pretrained NLP models, then constructs knowledge graphs from the extracted information.

Yes, if you need entity and relation extraction from documents and are comfortable with a dormant package. The library offers broad Python version support and prebuilt wheels for easy installation, but the 613-day gap since the last release and lack of recent maintenance signals suggest limited ongoing support. Install only if the core NLP and graph-building features match your needs and you can tolerate potential staleness.

Install

deepsearch-glm on PyPI

pip

pip install deepsearch-glm

uv

uv add deepsearch-glm

poetry

poetry add deepsearch-glm

Installing deepsearch-glm

Before you install

Medium install friction due to prebuilt wheels for Python 3.9–3.13 across macOS, Linux, and Windows, but the package is dormant (613 days since last release) with no recent maintenance signals.

License in practice

MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the original license notice.

Quickstart

pip install deepsearch-glm

from deepsearch_glm.utils.load_pretrained_models import load_pretrained_nlp_models
from deepsearch_glm.nlp_utils import init_nlp_model

load_pretrained_nlp_models(force=False, verbose=False)
mdl = init_nlp_model()
result = mdl.apply_on_text("France is a country in Western Europe.")

Pretrained models are downloaded on first use; pywin32 is a runtime dependency on Windows systems.

Verify before relying

  • Whether the dormant status (613 days since release) indicates active maintenance or abandonment.
  • Whether pretrained model downloads work reliably or require external configuration.
  • Performance characteristics and supported document formats beyond the PDF examples shown.
  • Whether the deepsearch-toolkit optional dependency is required for core NLP functionality or only for advanced features.

Package facts

License MIT (permissive)
Python support supports the current Python release (<4.0,>=3.9)
Install friction medium — platform-specific wheel
Runtime dependencies 1 — pywin32
Maintenance dormant — 613 days since the last release
First released
Downloads 92,161/month — #13,472 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: deepsearch_glm-1.0.0-cp310-cp310-macosx_13_0_x86_64.whl; deepsearch_glm-1.0.0-cp310-cp310-macosx_14_0_arm64.whl; deepsearch_glm-1.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; deepsearch_glm-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; deepsearch_glm-1.0.0-cp310-cp310-win_amd64.whl; deepsearch_glm-1.0.0-cp311-cp311-macosx_13_0_x86_64.whl; deepsearch_glm-1.0.0-cp311-cp311-macosx_14_0_arm64.whl; deepsearch_glm-1.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; deepsearch_glm-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; deepsearch_glm-1.0.0-cp311-cp311-win_amd64.whl; deepsearch_glm-1.0.0-cp312-cp312-macosx_13_0_x86_64.whl; deepsearch_glm-1.0.0-cp312-cp312-macosx_14_0_arm64.whl; deepsearch_glm-1.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; deepsearch_glm-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; deepsearch_glm-1.0.0-cp312-cp312-win_amd64.whl; deepsearch_glm-1.0.0-cp313-cp313-macosx_13_0_x86_64.whl; deepsearch_glm-1.0.0-cp313-cp313-macosx_14_0_arm64.whl; deepsearch_glm-1.0.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; deepsearch_glm-1.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; deepsearch_glm-1.0.0-cp313-cp313-win_amd64.whl

License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Tags

entity extraction from textNLP named entity recognitionknowledge graph constructiondocument relation extractiongraph language modelssemantic parsing documentslinguistic structure analysis
nlp-extractionknowledge-graphentity-recognition

More Linguistic packages

Further reading