scribe-org / Scribe-iOS

iOS app with keyboards for language learners
https://apps.apple.com/app/scribe-language-keyboards/id1596613886
GNU General Public License v3.0
128 stars 79 forks source link

Add Hebrew keyboard #134

Open andrewtavis opened 2 years ago

andrewtavis commented 2 years ago

Terms

Language support

Hebrew has tons of language data support on Wikidata and could be added soon. The language has masculine and feminine genders, and appears to conjugate verbs using first, second, and third person along with singular and plural. The 3x2 conjugation display would thus be used.

Contribution

I'd be happy to work on this, and it may be focussed on in a future release :)

What's needed

andrewtavis commented 2 years ago

Word counts via Data/check_language_data.sparql:

type total
adjective 4269
adverb 107
article 1
noun 19748
preposition 59
pronoun 21
proper noun 872
verb 4705
andrewtavis commented 2 years ago

Note that for Hebrew we'd need to account for the fact that it's written left to right :)

Tapo41 commented 1 year ago

@andrewtavis I want to work on this issue and I am new to this project. Can you share some resources on how to get started so that I can work on this issue?

andrewtavis commented 1 year ago

Hey there @Tapo41! Thanks for expressing your interest in Scribe! 😊

First things first is depending on how knowledgable you are of Wikidata and its query service you'd likely need to look into their introduction to the query service :) We'll need to edit the queries for Hebrew to make sure that they're getting all the words we need.

From there it all depends on what your prior experience is. Looks like you have knowledge of Python, which will be great for the data formatting. Also, do you have knowledge of Hebrew? We can definitely figure the grammar out by finding references if not :)

Thanks again for writing! πŸš€

Tapo41 commented 1 year ago

@andrewtavis can you please give me some reference to figure out the grammar as I don't have any knowledge of Hebrew

andrewtavis commented 1 year ago

I'd say that the Wikipedia page on Hebrew grammar would be the main place to start :) We likely don't need to look too deeply into it at the start though. Would you be interested in the Python side of things, or do you have interest in Swift for working with the iOS app?

andrewtavis commented 1 year ago

@Tapo41, 96f32ab 6d27620 added the Hebrew directory for if you'd like to do some simple changes. A basic thing that can be done is reference the main KeyboardViewController in LanguageKeyboards/Hebrew/IWKeyboardViewController.swift as it's referenced in the keyboard view controllers for other languages :) From there you could make the files HEInterfaceVariables.swift and HECommandVariables.swift and we could start adding the language logic into them 😊

DanielGevaZA commented 2 months ago

I'm happy to work on this :)

andrewtavis commented 2 months ago

Looking forward to working on this with you, @DanielGevaZA!

DanielGevaZA commented 2 months ago

Completed the needed edits in HEInterfaceVariables. Will create a PR and we can take it from there. Good progress so far!

andrewtavis commented 2 months ago

Thanks for the first contribution, @DanielGevaZA! Would you want to work on HECommandVariables.swift for the next PR? :)