Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added ar-SA/images/alien-language.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/allow-microphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ar-SA/images/background-noise.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/control-alien-blocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/create-project.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/new-blocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/project-train.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/projects-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/record-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/test-your-model.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/train-new-model.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ar-SA/images/whatyouwillmake.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 20 additions & 13 deletions ar-SA/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,30 @@
title: لغة غريبة
hero_image: images/banner.png
description: قم بإنشاء لغة كائن الفضاء الخاصة بك لتحريك الكائن
theme: orange
theme: البرتقالي
listed: true
copyedit: true
technologies: scratch
software: scratch
version: 4.0.0
last_tested: '2019-06-04'
steps:
- title: المقدمة
- title: استخدم نموذجا تم تدريبه مسبقا
- title: أنشئ مشروعًا جديدًا
completion:
- engaged
- title: إنشاء كلمات كائن الفضاء
- title: تدريب نموذج جديد للتعلم الآلي
- title: استخدم كلمات كائن الفضاء في Scratch
completion:
- internal
- title: 'التحدي: إضافة أوامر جديدة'
challenge: true
-
title: ما الذي ستصنعه
-
title: Set up the project
-
title: Invent two words
completion:
- engaged
-
title: Train the model
-
title: Control the alien
completion:
- internal
-
title: 'Challenge'
challenge: true
completion:
- external
26 changes: 26 additions & 0 deletions ar-SA/resources/NEW Alien 1.srt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
1
00:00:04,760 --> 00:00:11,520
Go to rpf.io/ml4k and click 'Get started'.

2
00:00:11,520 --> 00:00:15,560
Click 'Try it now'.

3
00:00:15,560 --> 00:00:20,560
Add a new project called 'Alien language'.

4
00:00:20,560 --> 00:00:28,280
Set the project type to 'recognising sound,' 
and the storage to 'in your browser'.

5
00:00:28,280 --> 00:00:34,840
Create the project, then 
click on the project title.

6
00:00:34,840 --> 00:00:40,000
Now click on 'Train'.

25 changes: 25 additions & 0 deletions ar-SA/resources/NEW Alien 2.srt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
1
00:00:03,600 --> 00:00:07,160
Allow the site to access 
your microphone if it asks.

2
00:00:07,160 --> 00:00:12,440
Record a sample of background 
noise - so just don't say anything.

3
00:00:12,440 --> 00:00:17,800
Now repeat that until you have 
eight samples of background noise.

4
00:00:17,800 --> 00:00:27,040
Add a label for left, and record your 
made up alien word for left, eight times.

5
00:00:27,040 --> 00:00:38,120
Next, add a label for right and record 
a different made up word, eight times.

16 changes: 16 additions & 0 deletions ar-SA/resources/NEW Alien 3.srt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
1
00:00:04,160 --> 00:00:11,320
Click 'Back', then click on 'Learn & Test'.

2
00:00:11,320 --> 00:00:15,520
It's time to train your model!

3
00:00:15,520 --> 00:00:19,160
Test the model by saying one of your words:

4
00:00:19,160 --> 00:00:27,520
Bloop!

35 changes: 35 additions & 0 deletions ar-SA/resources/NEW Alien 4.srt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
1
00:00:04,680 --> 00:00:08,640
Now click 'Back' again, and 
this time choose 'Make'.

2
00:00:08,640 --> 00:00:14,160
Let's use the model in Scratch!

3
00:00:14,160 --> 00:00:21,920
Go to 'Project templates' and select 
the template for 'Alien language'.

4
00:00:21,920 --> 00:00:24,360
Some code has been added for you.

5
00:00:24,360 --> 00:00:29,960
Drag the code blocks to make 
the alien move when you speak.

6
00:00:36,800 --> 00:00:40,800
Let's test it out.

7
00:00:40,800 --> 00:00:43,840
Bloop!

8
00:00:43,840 --> 00:00:50,200
Wow!

1 change: 1 addition & 0 deletions ar-SA/resources/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
To watch a video with subtitles on VLC (videolan.org), ensure the video file and subtitle file are in the same folder and have the exact same name (e.g., video.mp4 and video.srt). Open the video in VLC, and it will automatically load the subtitles. If the subtitles don’t appear, right-click the video screen, go to **Subtitle**, then **Add Subtitle File**, and select the correct .srt file. Enjoy watching with subtitles!
45 changes: 18 additions & 27 deletions ar-SA/step_1.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,44 @@
## المقدمة
## ما الذي ستصنعه

في هذا المشروع ، سوف تقوم بتدريب الكمبيوتر لفهم لغة كائن الفضاء. ستستخدم ذلك للتحكم في شخصية غريبة حتى تتمكن من فهم ما تطلب منه للقيام به.
Train a machine learning model to recognise an alien language and use it in Scratch to control an alien.

### ما الذي ستصنعه
You will need a **microphone**.

--- no-print ---

![كائن الفضاء يتحرك يسار ويمين إلى كلمات جديدة ، Eeek و Bop](images/journey.gif)

--- /no-print ---

--- print-only ---

![نظرة عامة على مشروع سكراتش بأكمله](images/test-new-blocks.png)

--- /print-only ---
![An alien moving left and right with the commands Eek and Bop](images/whatyouwillmake.gif)

--- collapse ---

---
title: ما ستحتاج إليه
title: Where are my voice recordings stored?
---

+ كمبيوتر مع ميكروفون

+ خدمة الإنترنت
- This project uses a technology called 'machine learning'. Machine learning systems are trained using a large amount of data.
- This project does not require you to create an account or log in. For this project, the examples you use to make the model are only stored temporarily in your browser (only on your machine).

--- /collapse ---

--- collapse ---
---
title: ما الذي ستتعلمه
title: No YouTube? Download the videos!
---
+ كيفية استخدام ملحق الكلام إلى نص في Scratch 3 مع نموذج prerained
+ كيفية تدريب نموذج تعلُّم الآلة للتعرف على الأصوات
+ كيفية استخدام نموذجك في تدريب الالة في سكراتش 3

You can [download all the videos for this project](https://rpf.io/p/en/alien-language-go){:target="_blank"}.


--- /collapse ---

--- collapse ---
---
title: معلومات إضافية للمعلمين
title: License
---

إذا كنت بحاجة إلى طباعة هذا المشروع ، فالرجاء استخدام الإصدار [الملائم للطابعة](https://projects.raspberrypi.org/ar-SA/projects/alien-language/print){:target="_blank"}.
This project is dual-licensed under both a [Creative Commons Attribution Non-Commercial Share-Alike License](http://creativecommons.org/licenses/by-nc-sa/4.0/){:target="_blank"} and an [Apache License Version 2.0](http://www.apache.org/licenses/LICENSE-2.0){:target="_blank"}.

نود أن نشكر دايل من machinelearningforkids.co.uk على جميع أعماله في هذا المشروع.

--- /collapse ---

### رخصة

هذا المشروع مرخص بشكل مزدوج بموجب [ ترخيص Creative Commons Attribution Non-Commercial Share-Alike](http://creativecommons.org/licenses/by-nc-sa/4.0/){:target="_blank"} و [ترخيص Apache الإصدار 2.0](http://www.apache.org/licenses/LICENSE-2.0){:target="_blank"}

نود أن نشكر دايل من machinelearningforkids.co.uk على جميع أعماله في هذا المشروع.


41 changes: 29 additions & 12 deletions ar-SA/step_2.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,42 @@
## استخدم نموذجًا تم تدريبه مسبقًا
## Set up the project

<html>
<div style="position: relative; overflow: hidden; padding-top: 56.25%;">
<iframe style="position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 100%; border: none;" src="https://www.youtube.com/embed/F4HePu4SNrs?rel=0&cc_load_policy=1" allowfullscreen allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"></iframe>
</div>
</html>

--- task ---
+ انتقل إلى [machinelearningforkids.co.uk/scratch3](https://machinelearningforkids.co.uk/scratch3/){:target="_blank"}
--- /task ---

**تحذير:** لا يمكن إتمام هذه الخطوة من المشروع إلا باستخدام متصفح الويب Google Chrome. إذا لم يكن هذا المتصفح متاحًا لك ، فيرجى التخطي إلى الخطوة 3: إنشاء مشروع جديد ](https://projects.raspberrypi.org/ar-SA/projects/alien-language/3)
+ Go to [machinelearningforkids.co.uk](https://machinelearningforkids.co.uk/){:target="_blank"} in a web browser.

+ Click on **Get started**.

+ Click on **Try it now**.

--- /task ---

--- task ---
+ بعد ذلك ، قم بتحميل ملحق **الكلام إلى النص**. انقر على زر **امتداد** في الركن الأيسر السفلي ، ثم اختر **كلام إلى نص** من القائمة. **ملاحظة:** تأكد من تحديد امتداد **Speech to Text** وليس ملحق **Text to Speech**. ![سهم يشير إلى زر ملحقات](images/extensions-annotated.png)

+ استخدم **أحداث** كتل ، **كتل Motions** ، وكتل **الكلام إلى نص** جديدة لإنشاء البرامج النصية التالية. ![نصوص جديدة لإضافتها](images/S-to-T-blocks.png)
+ Click on **Projects** in the menu bar at the top.

+ Click on the **+ Add a new project** button.

+ Name your project `Alien language` and set it to learn to recognise **sounds**, and store data **in your web browser**. Then click on **Create**. ![Creating a project](images/create-project.png)

+ You should now see 'Alien language' in the projects list. Click on the project. ![Project list with alien language listed](images/projects-list.png)

--- /task ---

--- task---
مهمة --- انقر على العلم الأخضر لاختبار البرنامج الخاص بك. قل "يسار" أو "يمين". يجب أن تتحرك قطة السكراتش في الاتجاه الذي تطلبه. استخدم صوتك لمحاولة تحريك قط السكراتش ذهابًا وإيابًا عبر الشاشة. حاول التحدث بهدوء ووضوح.
--- task ---

+ Click on the **Train** button. ![Project main menu with an arrow pointing to the train button](images/project-train.png)

قد يكون من الصعب تشغيلها. إذا لم يفلح ذلك ، أضف التعليمة البرمجية `قل` بحيث يبدو النص الخاص بك مثل النص أدناه ، لإظهار ما يعتقد أنك تقول.
+ If you see a pop-up message asking to use the microphone, click on **Allow on every visit**.

![Popup asking you to allow the microphone, with an arrow pointing to allow every visit](images/allow-microphone.png)

--- /task ---

![New scripts to see what the computer thinks you are saying](images/S-to-T-blocks-test.png) --- /task ---

لقد استخدمت الآن التعرف على الكلام للتحكم في شخصية في سكراتش.

في هذه الخطوة ، لكي يعمل برنامجك بسرعة ، استخدمت نموذجًا للتعلم الآلي تم تدريبه لك بالفعل. إنه نموذج عام للتعلم الآلي تم تدريبه على التعرف على الكلمات في قاموس اللغة الإنجليزية.
49 changes: 39 additions & 10 deletions ar-SA/step_3.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,49 @@
## أنشئ مشروعًا جديدًا
في الخطوات القليلة التالية ، ستقوم بتدريب نموذج تعلُّم الآلة لترى كيف تم ذلك. بالنسبة للجزء التالي من المشروع ، ستستخدم صوتك للتحكم في شخصية كائن الفضاء التي لا تفهم اللغة الإنجليزية! سوف تخترع كلمتين جديدتين لن يتم العثور عليهما في قاموس اللغة الإنجليزية. بعد ذلك ، سوف تستخدم الكلمات للتحكم في شخصية كائن الفضاء ، وتدريب نموذج للتعلم الالة للتعرف عليها.
## Invent two words

أولاً ، انتقل إلى موقع Machine Learning for Kids وإنشاء مشروع.
<html>
<div style="position: relative; overflow: hidden; padding-top: 56.25%;">
<iframe style="position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 100%; border: none;" src="https://www.youtube.com/embed/au4cDSYW_EQ?rel=0&cc_load_policy=1" allowfullscreen allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"></iframe>
</div>
</html>

First, you will collect samples of background noise. This will help your machine learning model to tell the difference between the sounds that you will train it to recognise, and the background noise where you are.

--- task ---
+ انتقل إلى [machinelearningforkids.co.uk](https://machinelearningforkids.co.uk/){:target="_blank"}.

+ انقر على **لتبدأ**.
+ Click the **+ Add example** button in **background noise**.

+ Click on the microphone, but don't say anything. Record 2 seconds of background noise. ![Arrow pointing to microphone button](images/record-button.png)

+ Click the **Add** button to save your recording.

--- /task ---

--- task ---

+ Repeat those steps until you have **at least eight examples** of background noise. ![Bucket filled with 8 background examples](images/8-background.png)

--- /task ---

Invent two alien words — a word that means "left" and a word that means "right".

+ انقر على **جربه الآن**. --- /task ---
Now you will record eight examples of each word so that your machine learning model can learn to recognise them.

--- task ---
+ انقر على **مشاريع** في شريط القائمة في أعلى الصفحة.

+ انقر فوق الزر **إضافة مشروع جديد**.
+ Click on **+ Add new label** on the top right of the screen and add a label called `left`.

--- /task ---

--- task ---

+ Click on **+ Add example** inside the box for the new `left` label, and record yourself saying your alien word for "left".

+ Repeat until you have recorded **at least eight examples**.

--- /task ---

--- task ---

+ قم بتسمية مشروعك `Alien Language` وقم بتعيينه على تعلم كيفية التعرف على `الأصوات `. ثم، انقر فوق زر **اصنع**. ![إنشاء مشروع](images/create.png)
+ Click on **+ Add new label** to create another label called `right` and record eight examples of your alien word for "right".

+ يجب أن تشاهد `لغة كائن الفضاء` في قائمة المشاريع. انقر على مشروع `لغة كائن الفضاء`. --- /task ---
--- /task ---
Loading