textgraphs

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

https://github.com/derwenai/textgraphs

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.3%) to scientific vocabulary

Keywords

entity-linking graph-algorithms graph-of-relations graph-visualization knowledge-graph large-language-models named-entity-recognition opencypher rdflib relation-extraction textrank wordcloud
Last synced: 6 months ago · JSON representation ·

Repository

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

Basic Info
Statistics
  • Stars: 10
  • Watchers: 4
  • Forks: 1
  • Open Issues: 0
  • Releases: 9
Topics
entity-linking graph-algorithms graph-of-relations graph-visualization knowledge-graph large-language-models named-entity-recognition opencypher rdflib relation-extraction textrank wordcloud
Created about 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Funding License Citation Security

README.md


title: TextGraphs emoji: ✴ colorFrom: green colorTo: gray sdk: streamlit sdkversion: 1.28.2 appfile: 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:

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

Install from PyPi:

bash python3 -m pip install -U textgraphs

run demos locally

bash python3 demo.py

bash streamlit run app.py

install library from source locally

```bash 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:

bash 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: bibtex @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

Owner

  • Name: derwen.ai
  • Login: DerwenAI
  • Kind: organization
  • Location: Sebastopol, CA

We provide enterprise customers with full-stack engineering for AI applications at enterprise scale, emphasizing open source integration.

Citation (CITATION)

@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}
}

GitHub Events

Total
  • Watch event: 7
Last Year
  • Watch event: 7

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 31 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
  • Total maintainers: 1
pypi.org: textgraphs

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

  • Documentation: https://textgraphs.readthedocs.io/
  • License: MIT License Copyright (c) 2023-2024 Derwen, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • Latest release: 0.5.0
    published about 2 years ago
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 31 Last month
Rankings
Dependent packages count: 10.2%
Average: 38.6%
Dependent repos count: 67.0%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/ci.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
pyproject.toml pypi
  • GitPython >= 3.1
  • beautifulsoup4 >= 4.12
  • icecream >= 2.1
  • markdown2 >= 2.4
  • matplotlib >= 3.8
  • networkx >= 3.2
  • pulp >= 2.7
  • pyvis >= 0.3
  • qwikidata >= 0.4
  • spacy >= 3.7
  • spacy-dbpedia-spotlight >= 0.2.6
  • span_marker >= 1.5
  • transformers >= 4.35
  • wordcloud >= 1.9
requirements-dev.txt pypi
  • build >=1.0 development
  • ipywidgets >=8.1 development
  • jupyterlab >=4.0 development
  • jupyterlab_execute_time >=3.1 development
  • pre-commit >=3.5 development
  • pytest >=7.4 development
  • sense2vec >=2.0 development
  • spacy-entity-linker >=1.0 development
  • streamlit <1.29 development
  • twine >=4.0 development
  • watermark >=2.4 development
requirements.txt pypi
  • GitPython >=3.1
  • beautifulsoup4 >=4.12
  • icecream >=2.1
  • markdown2 >=2.4
  • matplotlib >=3.8
  • networkx >=3.2
  • pulp >=2.7
  • pyinstrument >=4.6
  • pyvis >=0.3
  • qwikidata >=0.4
  • spacy >=3.7
  • spacy-dbpedia-spotlight >=0.2.6
  • span_marker >=1.5
  • transformers >=4.35
  • wordcloud >=1.9
setup.py pypi