Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help in converting #1

Open
emdee-net opened this issue Nov 3, 2023 · 9 comments
Open

Help in converting #1

emdee-net opened this issue Nov 3, 2023 · 9 comments

Comments

@emdee-net
Copy link

Is there a cmdline application that will convert from either of the ASCII
Peshitta.org/CAL: Font Encoding
http://www.peshitta.org/initial/standard.html
to UTF-8?

I know that's not the point of your software (for which I thank you) but figured you must know.

@esoleyman
Copy link
Owner

Unfortunately, I don't have a tool readily available that will convert it.

If you are trying to read it, then this may help:

https://archive.org/details/SyriacBibleNt/

@emdee-net
Copy link
Author

Given that table I pointed at, how ard would it to be to write?

What are the rules for the use of the first 2 columns?

Are there ligatures of vowel mark that complicate things.

I can code, but I can't believe that this hasn't already been done!
(Thanks for your help)

@esoleyman
Copy link
Owner

I would focus on the first column only and transliterate that to the applicable Unicode code points and don't focus on the second column as the fonts will take care of that.

I don't see any diacritics in the columns and therefore it is non-vocalized in that sense. Just pure letters.

Use the Meltho fonts from Beth Mardutho and you should have the correct forms and shapes.

@emdee-net
Copy link
Author

Does this look good: https://pypi.org/project/aksharamukha/
https://github.com/virtualvinodh/aksharamukha-python
It says supported: Syriac (Eastern), Syriac (Estrangela), Syriac (Western),

@esoleyman
Copy link
Owner

Most of the Roman letters match up except for Alap, Khet, Teth, Ayin, and Tsade.

You can possibly go into the python script and modify it to recognize those and should be good to go.

@emdee-net
Copy link
Author

Naw - out of my league - I'm strictly LTR!

I asked if he might be able to support it:
virtualvinodh/aksharamukha-python#8

@esoleyman
Copy link
Owner

Try this branch and it should work out OK. I haven't tried it but it should theoretically work.

https://github.com/esoleyman/aksharamukha-python/tree/main

@emdee-net
Copy link
Author

emdee-net commented Nov 3, 2023

Great! Thanks a lot. I see on the commit
virtualvinodh/aksharamukha-python@main...esoleyman:aksharamukha-python:main
you just threw the trailing letters as if they were non-trailing, which is fine by me.

But in the Peshitta.org/CAL: Font Encoding page:
http://www.peshitta.org/initial/standard.html

the 2nd to last column is CAL which is a slightly different encoding.

Can you cut-n-paste to throw that in as a new encoding, maybe called SyrC or SyrCAL?

What do I put as the arguments to the ransliterate.process call to get UTF-8?
https://github.com/esoleyman/aksharamukha-python/blob/main/demo/demo.py

Thanks very much for your help.

PS did you try running this? none of demo.py demo/demo.py or
aksharamukha/test/testsuite.py work for me. All fail.

@emdee-net
Copy link
Author

Thanks for your code. I fixed it for linux and fixed the syre example in debug.py and updated virtualvinodh/aksharamukha-python#8
Attached is a context diff patch should be able to handle.

He didn't reply to email or the issue.

aksharamukha-python.diff.txt

I should be able to add CAL encoding, but the syre is the important one.
Maybe I'll make a simple cmdline app.

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

No branches or pull requests

2 participants