-
-
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.
[lipi] Add 4 schemes and better Vedic support
Schemes: - Add basic support for Assamese, Kharoshthi, Mon, and Soyombo. Features: - Add stronger support for upadhmaniya and jihvamuliya. - Add limited support for Meetei Mayek. - Add limited support for Samaveda svaras. Bug fixes: - Fix treatment of Malayalam au. - Add experimental support for Malayalam chillus. - Use NFC internally to avoid a bug with greedy ISO matching. - Support ayogavahas used with svaras in Devanagari. - Fix display for several schemes in the UI. Code: - Simplify and clean up `create_schemes.py`. - Add benchmark test.
- Loading branch information
Showing
16 changed files
with
1,820 additions
and
540 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
use vidyut_lipi::{Lipika, Scheme}; | ||
|
||
fn main() { | ||
let mut input = String::new(); | ||
for _ in 0..1_000_000 { | ||
input.push_str(concat!( | ||
"nArAyaRaM namaskftya naraM cEva narottamam . ", | ||
"devIM sarasvatIM cEva tato jayamudIrayet .. 1 .." | ||
)); | ||
} | ||
|
||
let mut lipika = Lipika::new(); | ||
let output = lipika.transliterate(input, Scheme::Slp1, Scheme::Tibetan); | ||
println!("{output}"); | ||
} |
Oops, something went wrong.