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.2.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.2.tar.gz.
File metadata
- Download URL: nl_processing-0.2.2.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 |
c8e421e4f4ae23361fae7861a255841badfc0e6ae3168ef7bb95776d4f91f049
|
|
| MD5 |
fbfd902f4341d749332906c06f7d6f1a
|
|
| BLAKE2b-256 |
f78a7250ef951795b7abc745181941c354eadc7855396a0c00527e642870fb40
|
File details
Details for the file nl_processing-0.2.2-py3-none-any.whl.
File metadata
- Download URL: nl_processing-0.2.2-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 |
dfb524f6224448e3528816ca8016bb84fffc17bb36f8ba9b9915369dc089b8c9
|
|
| MD5 |
0b08ee974bf451da008ffb383ba7ef8f
|
|
| BLAKE2b-256 |
710b4e90f49e451169ffe3140f32ead3a314705b2ee031bb9aa54aee08acd086
|