Natural language processing playground
Project description
nl_processing
Dutch language processing toolkit powered by LangChain + OpenAI.
Installation
pip install nl_processing
Modules
| Module | Class | Description | Docs |
|---|---|---|---|
extract_text_from_image |
ImageTextExtractor |
Extract Dutch text from images via Vision API | docs |
extract_words_from_text |
WordExtractor |
Extract and normalize words from markdown text | docs |
translate_text |
TextTranslator |
Translate text (NL → RU) with markdown preservation | docs |
translate_word |
WordTranslator |
Batch-translate words (NL → RU) | docs |
database |
DatabaseService |
Persist words and translations to Neon PostgreSQL | docs |
sampling |
WordSampler |
Weighted word sampling with adversarial distractors | docs |
Each module's docs/ folder contains a product brief, PRD, and architecture doc.
Development
uv sync # install dependencies
make check # full lint + test pipeline
uv run pytest tests/unit # unit tests only (free, no API key)
See docs/ENV_VARS.md for required environment variables and NEON.md for database setup.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nl_processing-0.2.1.tar.gz
(2.6 MB
view details)
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 nl_processing-0.2.1.tar.gz.
File metadata
- Download URL: nl_processing-0.2.1.tar.gz
- Upload date:
- Size: 2.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9a924453bf841002c3dafdc60296b31deaeb25db7990aa9d3eb694220ad6849
|
|
| MD5 |
e9c0fb19729f2df109f82743b26b5c3e
|
|
| BLAKE2b-256 |
b728b000909f856b01beb276094a002827bf8729b03697998603dc6e9373eae4
|
File details
Details for the file nl_processing-0.2.1-py3-none-any.whl.
File metadata
- Download URL: nl_processing-0.2.1-py3-none-any.whl
- Upload date:
- Size: 2.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f18c783546bbb2b94e91d1bb53e29d1eb250105a3ca08ab438fb671c894ab23
|
|
| MD5 |
f45958b741a3098e04058c08e91af73c
|
|
| BLAKE2b-256 |
d53fba898dc86c89557280a6bf6d546a18702925e9b922ca1828fb0f2b06f367
|