keybr.com icon indicating copy to clipboard operation
keybr.com copied to clipboard

req: add arabic to languages that can practiced

Open Mohamed-Safy opened this issue 2 years ago โ€ข 22 comments

Mohamed-Safy avatar Oct 12 '23 14:10 Mohamed-Safy

Hello, any updates on this? Or what we can do to implement it?

mohamedamara1 avatar Jan 14 '24 14:01 mohamedamara1

+1

4mirul avatar Jan 17 '24 00:01 4mirul

I would like to express my admiration for your project. Its potential to transform lives is truly remarkable.

As a legally blind individual, I face unique challenges, particularly when it comes to writing in Arabic, my mother tongue. I believe that the integration of an Arabic typing feature into your project would not only empower me, but also countless others facing similar challenges.

The ability to communicate effectively in our native language is invaluable. By incorporating this feature, you would be significantly enhancing our ability to connect with our communities.

I am eager to contribute to this development in any way I can. Please let me know how I can assist in making this feature a reality.

Thank you for considering my request. I am confident that this addition would greatly enrich your project and its impact on users like myself.

ibrahimkettaneh avatar Jan 31 '24 23:01 ibrahimkettaneh

I like the idea of this implementation. It will definitely help a lot of people. I can help with translation. Thank you for your hard work.

alihassan1989 avatar Feb 01 '24 02:02 alihassan1989

This is a good idea. Will allow better accessibility for users who speak arabic!

Phant80m avatar Feb 01 '24 07:02 Phant80m

The Persian language is under development.

What's left to do is to build a good word frequency dictionary.

You can test the prototype implementation on a different domain keybr.xyz.

image

aradzie avatar Apr 12 '24 11:04 aradzie

Following the same path, I can add the Arabic language. However, I know very little about it and will need help from native speakers.

The most difficult task is building a good word frequency dictionary.

I will keep you informed about the progress and hope on your cooperation.

aradzie avatar Apr 12 '24 11:04 aradzie

Following the same path, I can add the Arabic language. However, I know very little about it and will need help from native speakers.

The most difficult task is building a good word frequency dictionary.

I will keep you informed about the progress and hope on your cooperation.H

Hello. I really want to help in adding the Arabic language to Keybr. How can I start?

AzizMarashly avatar Apr 22 '24 19:04 AzizMarashly

Following the same path, I can add the Arabic language. However, I know very little about it and will need help from native speakers. The most difficult task is building a good word frequency dictionary. I will keep you informed about the progress and hope on your cooperation.H

Hello. I really want to help in adding the Arabic language to Keybr. How can I start?

Hi, your help is appreciated!

We have a working prototype. Can you please test it?

image

(We also have a very incomplete translation of the user interface to Arabic, hence the mixed languages on the screenshot.)

You can review this Arabic word list. It is a word frequency dictionary I built from the movie subtitles. Maybe you can suggest any other source of such a word list. Or maybe you can review the spreadsheet, clean it up from bad words, borrowed words, names (personal, geographical, etc).

Thanks!

aradzie avatar Apr 22 '24 19:04 aradzie

Following the same path, I can add the Arabic language. However, I know very little about it and will need help from native speakers. The most difficult task is building a good word frequency dictionary. I will keep you informed about the progress and hope on your cooperation.H

Hello. I really want to help in adding the Arabic language to Keybr. How can I start?

Hi, your help is appreciated!

We have a working prototype. Can you please test it?

image

(We also have a very incomplete translation of the user interface to Arabic, hence the mixed languages on the screenshot.)

You can review this Arabic word list. It is a word frequency dictionary I built from the movie subtitles. Maybe you can suggest any other source of such a word list. Or maybe you can review the spreadsheet, clean it up from bad words, borrowed words, names (personal, geographical, etc).

Thanks!

After I wrote my first comment, I noticed that you had already added it ๐Ÿ˜…. I am currently testing it. Thank you!! I'd be really happy to help with the dictionary. Do you have a written guideline for choosing words that I could follow?

AzizMarashly avatar Apr 22 '24 19:04 AzizMarashly

@aziz-marashly The instructions are simple. Please review at least 3000 words. Please remove (cross out, set count to zero, blank it, whatever) any obviously profane, obscene, vulgar words. And also any triggering words, such as "rape", "murder", etc. I believe there will be a few borrowed words and names. If you have passion and energy, I believe it is better to remove these as well.

aradzie avatar Apr 22 '24 19:04 aradzie

@aradzie Okay, got it ๐Ÿ‘

AzizMarashly avatar Apr 22 '24 19:04 AzizMarashly

@aradzie I did about the first 2300-ish words. I also used the search to find bad words. The problem is that the list of words has a lot of spelling issues. I'm thinking about another source that is already audited for spelling mistakes. Let me think about this and get back to you. I have a question regarding scoring, how this score is calculated, and how this score is being used in the application.

AzizMarashly avatar Apr 22 '24 20:04 AzizMarashly

@aziz-marashly If you can find such a list of words, that would be awesome.

aradzie avatar Apr 22 '24 21:04 aradzie

Yes please

ibrahimkettaneh avatar Apr 22 '24 23:04 ibrahimkettaneh

@aziz-marashly Thanks for reviewing it. I understand it might be not the most exciting job, especially given the low quality of the list. It was my first naive attempt to build such a list. However, not being a native speaker makes it much more difficult for me.

I have updated the website with the result of your work. Previously we had about 500 Arabic words from some random list that I found on the Internet. Now we have ~2100 such words from the spreadsheet reviewed by you, much better.

image

If you think that you can obtain a better word list, go ahead. If you think that the current list is good enough, that's also ok, maybe we can close this issue.

aradzie avatar Apr 23 '24 14:04 aradzie

@aradzie said:

If you think that you can obtain a better word list, go ahead. If you think that the current list is good enough, that's also ok, maybe we can close this issue.

Arabic has 12.3m words and 32 varieties, compared to English with 600k words image Image source: Wikipedia

However, there are about 120k headwords, and each headword can have different suffixes, prefixes and diacritics (also known as harakat) to have tens of different meanings, for example, the headword ุญู…ู„ can have about 20 different variations and 102 different meanings.

Adding a list of 12.3m words would be quite a challenge, and unnecessary, as native Arabic speakers don't add diacritics to words, we can just easily understand which exact meaning out of tens of meanings the word is implying for without even thinking about it, we only use diacritics when we don't want to leave any room for error or misunderstanding a word, such as in the Quran, but it's quite a challenge for non-native speakers to read and understand Arabic without diacritics, so for now we can have a list of 120k headwords without diacritics, and then potentially add an option in the settings to enable harakat in the future, which expands the list to 12.3m words.

So here are a few sources for those 120k headwords:

But it's still going to be a challenge, as you need to get this list from pdf files or online dictionaries, so we can limit this list to the Quranic Arabic Corpus, Lemma Frequency and Verb Concordance, which is 3680 words and 1475 verbs used in the Quran (along with their frequencies), which is read by all Muslims worldwide, and use this tool to remove the diacritics from words. image Image source: Wikipedia

We can also limit this list even further to 1500 common words in Modern Standard Arabic from Almaany and use the same tool.

So we have two options:

  1. Modern Standard Arabic, with ~120k headwords, used by 274m people.
  2. Quranic Arabic, with 3.7k words and 1.5k verbs, used by 1.907b people.

I believe the best option we can use is the words and verbs from the Quran, then expand to Modern Standard Arabic in the future.

Sources:

  • https://archive.org/details/AlMuzhirSuyuti/page/n703/mode/2up
  • https://en.wikipedia.org/wiki/Arabic
  • https://en.m.wikipedia.org/wiki/List_of_dictionaries_by_number_of_words
  • https://en.wikipedia.org/wiki/Modern_Standard_Arabic
  • https://en.wiktionary.org/wiki/Wiktionary:Frequency_lists/Arabic
  • https://en.wikipedia.org/wiki/List_of_languages_by_total_number_of_speakers
  • https://en.wikipedia.org/wiki/List_of_religious_populations

AA0000-33 avatar Apr 29 '24 11:04 AA0000-33

So we have two options:

We can have both at the same time.

aradzie avatar Apr 29 '24 15:04 aradzie

This looks like great work It's inspiring All your efforts are appreciated ๐Ÿ˜

ibrahimkettaneh avatar May 01 '24 04:05 ibrahimkettaneh

can we have the following Arabic keyboard style for macOS?

Mac Arabic Keyboard Source

0xifarouk avatar May 17 '24 14:05 0xifarouk

can we have the following Arabic keyboard style for macOS?

Unfortunately we do not support macOS. All layouts that we show are either OS-neutral or Windows-specific.

aradzie avatar May 17 '24 15:05 aradzie

I wanted to report a small typographical issue in the Arabic touchtyping lessons. When training with punctuation characters lessons are using the English comma (,) instead of the Arabic comma (ุŒ).

Hereโ€™s a detailed explanation of how each comma is obtained when using an Arabic keyboard layout:

English Comma (,) (wrongly used): On an Arabic keyboard layout, the English comma (,) is obtained by pressing Shift + ูˆ or the < key.

Arabic Comma (ุŒ): The correct Arabic comma (ุŒ) is obtained by pressing Shift + ู† or Shift + K.

This issue can cause confusion for users learning to type in Arabic, and correcting it would greatly enhance the accuracy and user experience of the Arabic lessons.

1Moadh avatar Aug 12 '24 04:08 1Moadh