pyurbans/urbans
A tool for translating text from source grammar to target grammar (context-free) with corresponding dictionary.
Leverages NLTK's parsing backend to apply deterministic, rule-based translation by combining context-free grammar transformations with lexical substitution, enabling reproducible outputs unlike statistical MT systems. Supports syntax reordering rules (e.g., adjective-noun ordering across languages) alongside word-to-word dictionary mappings, making it suitable for low-resource language pairs and data augmentation tasks.
No commits in the last 6 months.
Stars
21
Forks
7
Language
Python
License
Apache-2.0
Category
Last pushed
Apr 07, 2022
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/pyurbans/urbans"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.