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.0.tar.gz
(22.7 kB
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.0.tar.gz.
File metadata
- Download URL: nl_processing-0.2.0.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56edb7fac06815ab9b68079536a1a5644eb41853fab6785bed4482a86ad6f411
|
|
| MD5 |
4651cf87c17b3501e1aaf925516d1095
|
|
| BLAKE2b-256 |
b69b280d7120d2c2426a9b0f55349da884595cbcd7754ef6cfdab78401a6c33a
|
File details
Details for the file nl_processing-0.2.0-py3-none-any.whl.
File metadata
- Download URL: nl_processing-0.2.0-py3-none-any.whl
- Upload date:
- Size: 33.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e02df1a9b2a2ed9b775d563b8bd16dccdb347e7e6f8245f840244e37b0ac3d6
|
|
| MD5 |
2048ef18e08506ca9f9ca39a67774b52
|
|
| BLAKE2b-256 |
8677ec9082ad650207a61749f3a5d5dfa5564510d85bcbfb8eccb927466802d0
|