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
- General Widgets
- Abstractive Summary
- Extractive Summary
- Named Entity Recognition
- POS Tagger
- POS Viewer
- Question Answering
- Reference Library
- Ollama RAG
- Text Splitting Widgets
- Text Chunker
- Tokens to Corpus
- Text Embedding Models
- Doc2Vec
- E5
- FastText
- Gemini
- Nomic
- OpenAI
- Sentence Embedder (SBERT)
- spaCy
- USE
- Training of Text Embedding Widget
- Train Doc2Vec
- For Polish Sentiment Analysis
- Analiza Sentymentu
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.
Text Splitting Widgets
Tokens to Corpus
The Tokens to Corpus widget takes the tokens from the Preprocess Text widgets.
Text Chunker
Text Chunker supports 2 chunking strategies to split text. The first is LangChain's RecursiveCharacterTextSplitter and the second is semantic-text-splitter.
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.
Polish Sentiment Analysis
Since Polish sentiment analysis support in Orange was limited, Analiza Sentymentu provides a tuned model.
Metadata
Release files for orange3-nlp 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| orange3_nlp-0.0.9.tar.gz | 144.9 kB | Without provenance | Details for orange3_nlp-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| orange3_nlp-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for orange3_nlp-0.0.9-py3-none-any.whl |
Total release size: 339.3 kB
Release files / orange3_nlp-0.0.9.tar.gz
| Download URL | orange3_nlp-0.0.9.tar.gz |
|---|---|
| Size | 144.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1031f473e223262646aa355f6036e563289c5ca4c656f92c0d00f4e65948e42d
|
|
BLAKE2b-256 checksum How to use checksums |
66332cb580fde674ca75bacfa2e490efba65b43b12d64148301dbe936e6715ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Release files / orange3_nlp-0.0.9-py3-none-any.whl
| Download URL | orange3_nlp-0.0.9-py3-none-any.whl |
|---|---|
| Size | 194.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a677d58d0d15760bd8b29026fe9489e4975af3222a4427ddcee1d015d33db0d
|
|
BLAKE2b-256 checksum How to use checksums |
a1a17f0df35ab6e808271be7642316d23f0f64ec0163d706aa13615fce8e59c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Security for orange3-nlp 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.