Skip to content

Implement core logic for transliteration, sandhi, morphology, and analysis#2

Merged
VedantMadane merged 3 commits intomainfrom
feat/implement-core-logic-9442183823198293679
Feb 10, 2026
Merged

Implement core logic for transliteration, sandhi, morphology, and analysis#2
VedantMadane merged 3 commits intomainfrom
feat/implement-core-logic-9442183823198293679

Conversation

@VedantMadane
Copy link
Owner

Replaced placeholders with working implementations in vedyut-lipi (transliteration), vedyut-sandhi (vowel sandhi), vedyut-prakriya (word generation for Bhvadi Lat), and vedyut-cheda (analyzer using lexicon). Also updated vedyut-core PyO3 bindings to support modern PyO3 0.21+ and fixed existing issues in vedyut-sanskritify.

Key changes:

  • vedyut-lipi: Added mappings.rs and implemented transliteration for IAST/SLP1 <-> Devanagari.
  • vedyut-sandhi: Implemented apply_sandhi with Dirgha, Guna, Vriddhi, Yan, Ayadi rules.
  • vedyut-prakriya: Implemented generate_tinanta for Bhvadi roots (e.g., bhU -> bhavati).
  • vedyut-cheda: Implemented Analyzer struct and logic to lookup Tinanta/Subanta/Avyaya entries.
  • vedyut-kosha: Added TinantaEntry/AvyayaEntry support.
  • vedyut-core: Updated PyO3 bindings to use Bound<'_, PyModule> and support new AnalysisResult structure.
  • vedyut-sanskritify: Fixed lifetime issue in vocabulary.rs and updated OriginDetector patterns.

PR created automatically by Jules for task 9442183823198293679 started by @VedantMadane

@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules bot and others added 2 commits February 10, 2026 17:51
- Fix python docs build: install 'llm' and 'dev' extras (litellm, numpy, pdoc3).
- Fix python lint: use `uv sync --all-extras` to ensure dev deps (ruff) are installed.
- Fix rust build-check on macOS: use `maturin build` instead of `cargo build` for proper extension module linking.
- Fix security audit: upgrade `pyo3` to 0.24.1 (RUSTSEC-2025-0020).
- Fix rust lint: run `cargo fmt`.
- Fix clippy warnings: deprecation in `vedyut-core` and unused var in `vedyut-sanskritify`.

Co-authored-by: VedantMadane <[email protected]>
- Add `pdoc3` to dev dependencies in `pyproject.toml` to fix `fastapi` module not found error in docs workflow.
- Update `.github/workflows/docs.yml` to rely on `uv sync --all-extras` for dependency installation.
- Implement `std::str::FromStr` for `Scheme` in `rust/vedyut-lipi/src/schemes.rs` to fix clippy `should_implement_trait` error.
- Run `uv run ruff format .` to fix Python linting failures.
- Fix logic error in `from_str` implementation to correctly call the trait method.

Co-authored-by: VedantMadane <[email protected]>
@VedantMadane VedantMadane merged commit 7444f87 into main Feb 10, 2026
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant