Skip to main content

TextGraphs + LLMs + graph ML for entity extraction, linking, ranking, and constructing a lemma graph

Project description


title: TextGraphs emoji: ✴ colorFrom: green colorTo: gray sdk: streamlit sdk_version: 1.28.2 app_file: app.py pinned: false license: mit

TextGraphs

DOI Licence Checked with mypy CI
Repo size downloads sponsor

TextGraphs logo

project info

Project home: https://huggingface.co/spaces/DerwenAI/textgraphs

Full documentation: https://derwen.ai/docs/txg/

Sample code is provided in demo.py

requirements

  • Python 3.10+

deploy library from PyPi

Prepare the virtual environment:

python3 -m venv venv
source venv/bin/activate
python3 -m pip install -U pip wheel setuptools

Install from PyPi:

python3 -m pip install -U textgraphs

run demos locally

python3 demo.py
streamlit run app.py

install library from source locally

python3 -m venv venv
source venv/bin/activate

python3 -m pip install -U pip wheel setuptools
python3 -m pip install -e .

To run the Streamlit or JupyterLab demos, also install:

python3 -m pip install -r requirements-dev.txt

license and copyright

Source code for TextGraphs plus its logo, documentation, and examples have an MIT license which is succinct and simplifies use in commercial applications.

All materials herein are Copyright © 2023-2024 Derwen, Inc.

attribution

Please use the following BibTeX entry for citing TextGraphs if you use it in your research or software:

@software{TextGraphs,
  author = {Paco Nathan},
  title = {{TextGraphs + LLMs + graph ML for entity extraction, linking, ranking, and constructing a lemma graph}},
  year = 2023,
  publisher = {Derwen},
  doi = {10.5281/zenodo.10431783},
  url = {https://github.com/DerwenAI/textgraphs}
}

star history

Star History Chart

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

textgraphs-0.5.0.tar.gz (244.5 kB view hashes)

Uploaded Source

Built Distribution

textgraphs-0.5.0-py3-none-any.whl (44.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page