-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[prakriya] Add various subanta and samasa rules
New features: - Rearrange and tweak subanta rules to provide much stronger support for subantas. - Add experimental samasa rules that support the four major samasa types. - Create `Pada` API to model a pada as a list of `Term`s. This is so that we can support more complex types of sandhi. Expansions: - Expand support for `derive_vakyas` to also accept padas. - Expand `TermView` API in anticipation of more heavy use later on. - Expand and refine support for optional rules, including a new `optionally` wrapper and a rename of `run_optional_at` to `optional_run_at`. - Expand `Pratipadika` API to also hold a list of `Term`s. This is so that we can support more complex pratipadikas and subantas. Code quality: - Create `ganapatha.rs` and move most ganas into that module. - Create `subanta.rs` and move most anga-subanta rules into that module. - Add extensive comments on various public types. Tests: - Expand rule coverage from 1681 rules to 1900 rules. Next steps: - Add basic support for accent rules. - Expand rule coverage to 2000 rules. - Reduce number of ignored tests (currently 179).
- Loading branch information
Showing
119 changed files
with
10,937 additions
and
4,379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.