A collection of Orange3 widgets to perform natural language processing
Project description
orange3-nlp
This provides a collection of widgets for Natural Language Processing.
Installation
Within the Add-ons installer, click on "Add more..." and type in orange3-nlp
Widgets
- Abstractive Summary
- Extractive Summary
- Named Entity Recognition
- POS Tagger
- POS Viewer
- Question Answering
- Reference Library
- Ollama RAG
Summary Widgets
- Extractive Summary: Selects and joins key sentences or phrases from the original text.
- Abstractive Summary: Generates new sentences that paraphrase and condense the original content (more similar to how humans summarize).
Named Entity Recognition
Named Entity Recognition (NER) is a task in NLP that locates and classifies named entities in text into predefined categories such as:
- PERSON – names of people
- ORG – organizations
- GPE – countries, cities, or locations
- DATE, TIME, MONEY, etc.
Part of Speech Tagging
Part-of-speech (POS) tagging assigns grammatical categories to each word in a sentence.
Common POS Tags
| Tag | Meaning | Example |
|---|---|---|
| NN | Noun | cat, city |
| VB | Verb | run, is |
| JJ | Adjective | fast, red |
| RB | Adverb | quickly |
| DT | Determiner | the, an |
| IN | Preposition | on, with |
POS tagging is essential for syntactic parsing and downstream NLP tasks.
Part of Speech Viewer
This uses spaCy's displacy HTML renderer to provide a parsed dependency tree of the parts of speech of the input text.
Question Answering
Question Answering (QA) systems aim to extract or generate answers to user questions from a text or knowledge base.
Reference Augmented Generation
Reference Augmented Generation (RAG) is a method of enhancing large language model (LLM) responses by providing external documents as supporting context. Instead of relying solely on the model's training data, RAG:
- Retrieves relevant snippets from a document collection (knowledge base).
- Augments the prompt to the LLM by including this retrieved content.
- Generates a more accurate and grounded answer based on the context.
Let's take a look at the Reference Library
And lastly, let's look at the Ollama RAG use.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file orange3_nlp-0.0.4.tar.gz.
File metadata
- Download URL: orange3_nlp-0.0.4.tar.gz
- Upload date:
- Size: 125.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
290bd63e73d00681a2a74522a62bf08b1c491028084fd10f7375c608c4780826
|
|
| MD5 |
c3c768365bcea9f3b93aa5850994993e
|
|
| BLAKE2b-256 |
c5227e0d26f3d80928cc684e046e4590c2df6466a7aff489c162c0a20c35f025
|
File details
Details for the file orange3_nlp-0.0.4-py3-none-any.whl.
File metadata
- Download URL: orange3_nlp-0.0.4-py3-none-any.whl
- Upload date:
- Size: 169.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0e719bc4b00a1720dbec0d1c5d9217a4c3af9bb7064719edc484d6dc24a2d20
|
|
| MD5 |
ffb058268d3129d4a637f2d7351402e3
|
|
| BLAKE2b-256 |
0aef125f552bf5607d3fd6cb632a58fca19be6361a7f60109f5798964a4bd6e5
|