Skip to content

Commit

Permalink
[he] added female pronounce to sentences
Browse files Browse the repository at this point in the history
  • Loading branch information
ofirsnb committed Apr 23, 2024
1 parent 5d12147 commit 3987677
Show file tree
Hide file tree
Showing 21 changed files with 77 additions and 39 deletions.
8 changes: 4 additions & 4 deletions sentences/he/_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ expansion_rules:
area: "[ה][ב]{area}"
what_is: "(מה|מהו|מהי|מהם|מהן)"
brightness: "{brightness}[%| אחוז | אחוזים]"
open: "(פתח | לפתוח | תפתח | תעלה | העלה | הרם | להרים | תרים)"
close: "(סגור | לסגור | תסגור | הנמך | תנמיך | הורד | להוריד | תוריד)"
open: "(פתח[י] | לפתוח | תפתח[י] | תעל[ה|י] | העל[ה|י] | הרם | הרימי | להרים | תרים | תרימי)"
close: "(סגור | סגרי | סיגרי | לסגור | תסגור | תסגרי | הנמך | הנמיכי | תנמיך | תנמיכי | הורד | הורידי | להוריד | תוריד[י])"
#turn: "(הפעל | הדלק)"
temp: "(מעלות|טמפרטורה|טמפרטורת)"
temperature: "{temperature} [{temperature_unit}] [°| מעלות]"
Expand All @@ -172,6 +172,6 @@ skip_words:
- "אנא"
- "נא"
- "בבקשה"
- "אתה יכול"
- "תוכל"
- "את[ה] יכול[ה]"
- "תוכל[י]"
- "אפשר"
18 changes: 9 additions & 9 deletions sentences/he/climate_HassClimateSetTemperature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ intents:
HassClimateSetTemperature:
data:
- sentences:
- "קבע [את ה]<temp> ל<temperature>"
- "הגדר [את ה]<temp> ל<temperature>"
- "שנה [את ה]<temp> ל<temperature>"
- "קבע[י] [את ה]<temp> ל<temperature>"
- "(הגדר | הגדירי) [את ה]<temp> ל<temperature>"
- "שנ[ה|י] [את ה]<temp> ל<temperature>"
- "שינוי [ה]<temp> ל<temperature>"
- sentences:
- "קבע [את ה]<temp> ב<area> ל<temperature>"
- "שנה [את ה]<temp> ב<area> ל<temperature>"
- "הגדר [את ה]<temp> ב<area> ל<temperature>"
- "שנה <temp> <area> ל<temperature>"
- "קבע[י] [את ה]<temp> ב<area> ל<temperature>"
- "שנ[ה|י] [את ה]<temp> ב<area> ל<temperature>"
- "(הגדר | הגדירי) [את ה]<temp> ב<area> ל<temperature>"
- "שנ[ה|י] <temp> <area> ל<temperature>"
- "שינוי <temp> <area> ל<temperature>"
- "שינוי [ה]<temp> ב<area> ל<temperature>"
- "קבע <temp> <area> ל<temperature>"
- "הגדר <temp> <area> ל<temperature>"
- "קבע[י] <temp> <area> ל<temperature>"
- "(הגדר | הגדירי) <temp> <area> ל<temperature>"
8 changes: 4 additions & 4 deletions sentences/he/cover_HassTurnOff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ intents:
HassTurnOff:
data:
- sentences:
- "סגור [את] [ה]<name>"
- "תסגור [את] [ה]<name>"
- "(סגור | ס[י]גרי) [את] [ה]<name>"
- "(תסגור | תסגרי) [את] [ה]<name>"
response: cover_device_class
slots:
device_class:
Expand All @@ -14,8 +14,8 @@ intents:
- shutter
domain: cover
- sentences:
- "סגור [את] [ה]{cover_classes:device_class} ב<area>"
- "תסגור [את] [ה]{cover_classes:device_class} ב<area>"
- "(סגור | ס[י]גרי) [את] [ה]{cover_classes:device_class} ב<area>"
- "(תסגור | תסגרי) [את] [ה]{cover_classes:device_class} ב<area>"
response: cover_area
slots:
device_class:
Expand Down
8 changes: 4 additions & 4 deletions sentences/he/cover_HassTurnOn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ intents:
HassTurnOn:
data:
- sentences:
- "פתח [את] [ה]<name>"
- "תפתח [את] [ה]<name>"
- "פתח[י] [את] [ה]<name>"
- "תפתח[י] [את] [ה]<name>"
response: cover_device_class
slots:
device_class:
Expand All @@ -14,8 +14,8 @@ intents:
- shutter
domain: cover
- sentences:
- "פתח [את] [ה]{cover_classes:device_class} ב<area>"
- "תפתח [את] [ה]{cover_classes:device_class} ב<area>"
- "פתח[י] [את] [ה]{cover_classes:device_class} ב<area>"
- "תפתח[י] [את] [ה]{cover_classes:device_class} ב<area>"
response: cover_area
slots:
device_class:
Expand Down
4 changes: 2 additions & 2 deletions sentences/he/fan_HassTurnOff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ intents:
HassTurnOff:
data:
- sentences:
- "(כבה|כיבוי|לכבות|תכבה) [של] [כל] [את] [ה](מאוורר|מאורר) ב<area>"
- "(כב[ה|י] | כיבוי | לכבות | תכב[ה|י]) [של] [כל] [את] [ה](מאוורר|מאורר) ב<area>"
slots:
domain: "fan"
- sentences:
- "(כבה|כיבוי|לכבות|תכבה) [של] [כל] [את] [ה](מאווררים|מאוררים) ב<area>"
- "(כב[ה|י] | כיבוי | לכבות | תכב[ה|י]) [של] [כל] [את] [ה](מאווררים|מאוררים) ב<area>"
slots:
domain: "fan"
name: "all"
4 changes: 2 additions & 2 deletions sentences/he/fan_HassTurnOn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ intents:
HassTurnOn:
data:
- sentences:
- "(הדלק|הדלקה|להדליק|תדליק) [של] [כל] [את] [ה](מאוורר|מאורר) ב<area>"
- "(הדלק|הדליקי|הדלקה|להדליק|תדליק[י]) [של] [כל] [את] [ה](מאוורר|מאורר) ב<area>"
slots:
domain: "fan"
- sentences:
- "(הדלק|הדלקה|להדליק|תדליק) [של] [כל] [את] [ה](מאווררים|מאוררים) ב<area>"
- "(הדלק|הדליקי|הדלקה|להדליק|תדליק[י]) [של] [כל] [את] [ה](מאווררים|מאוררים) ב<area>"
slots:
domain: "fan"
name: "all"
4 changes: 2 additions & 2 deletions sentences/he/homeassistant_HassTurnOff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ intents:
HassTurnOff:
data:
- sentences:
- "כבה [את] [ה]<name>"
- "כב[ה|י] [את] [ה]<name>"
- "כיבוי [של] [ה]<name>"
- "לכבות [את] [ה]<name>"
- "תכבה [את] [ה]<name>"
- "תכב[ה|י] [את] [ה]<name>"
4 changes: 2 additions & 2 deletions sentences/he/homeassistant_HassTurnOn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ intents:
HassTurnOn:
data:
- sentences:
- "הדלק [את] [ה]<name>"
- "(הדלק | הדליקי) [את] [ה]<name>"
- "הדלקה [של] [ה]<name>"
- "להדליק [את] [ה]<name>"
- "תדליק [את] [ה]<name>"
- "תדליק[י] [את] [ה]<name>"
12 changes: 6 additions & 6 deletions sentences/he/light_HassLightSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ intents:
HassLightSet:
data:
- sentences:
- קבע [את] [ה]בהירות ה<name> ל<brightness>
- שנה [את] [ה]בהירות ה<name> ל<brightness>
- הגדר [את] [ה]בהירות ה<name> ל<brightness>
- קבע[י] [את] [ה]בהירות ה<name> ל<brightness>
- שנ[ה|י] [את] [ה]בהירות ה<name> ל<brightness>
- (הגדר|הגדירי) [את] [ה]בהירות ה<name> ל<brightness>
response: brightness
- sentences:
- "קבע [את] [ה]בהירות ה<name> ל<brightness> ב<area>"
- "שנה [את] [ה]בהירות ה<name> ל<brightness> ב<area>"
- "הגדר [את] [ה]בהירות ה<name> ל<brightness> ב<area>"
- "קבע[י] [את] [ה]בהירות ה<name> ל<brightness> ב<area>"
- "שנ[ה|י] [את] [ה]בהירות ה<name> ל<brightness> ב<area>"
- "(הגדר|הגדירי) [את] [ה]בהירות ה<name> ל<brightness> ב<area>"
response: brightness_area
2 changes: 1 addition & 1 deletion sentences/he/light_HassTurnOff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ intents:
HassTurnOff:
data:
- sentences:
- "(כבה|כיבוי|לכבות|תכבה) [של] [כל] [את] [ה](אור|אורות) ב<area>"
- "(כב[ה|י]|כיבוי|לכבות|תכב[ה|י]) [של] [כל] [את] [ה](אור|אורות) ב<area>"
slots:
domain: "light"
2 changes: 1 addition & 1 deletion sentences/he/light_HassTurnOn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ intents:
HassTurnOn:
data:
- sentences:
- "(הדלק|הדלקה|להדליק|תדליק) [של] [כל] [את] [ה](אור|אורות) ב<area>"
- "(הדלק|הדליקי|הדלקה|להדליק|תדליק[י]) [של] [כל] [את] [ה](אור|אורות) ב<area>"
slots:
domain: "light"
6 changes: 6 additions & 0 deletions tests/he/climate_HassClimateSetTemperature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ language: he
tests:
- sentences:
- הגדר את הטמפרטורה ל30 מעלות
- הגדירי את הטמפרטורה ל30 מעלות
- שנה את הטמפרטורה ל30 מעלות
- שני את הטמפרטורה ל30 מעלות
- קבע את הטמפרטורה ל30 מעלות
- קבעי את הטמפרטורה ל30 מעלות
- שינוי הטמפרטורה ל30 מעלות
intent:
name: HassClimateSetTemperature
Expand All @@ -12,8 +15,11 @@ tests:
temperature_unit: celsius
- sentences:
- שנה את הטמפרטורה בסלון ל30 מעלות
- שני את הטמפרטורה בסלון ל30 מעלות
- הגדר את הטמפרטורה בסלון ל30 מעלות
- הגדירי את הטמפרטורה בסלון ל30 מעלות
- קבע את הטמפרטורה בסלון ל30 מעלות
- קבעי את הטמפרטורה בסלון ל30 מעלות
- שנה טמפרטורה סלון ל30 מעלות
- שינוי טמפרטורה סלון ל30 מעלות
- שינוי הטמפרטורה בסלון ל30 מעלות
Expand Down
5 changes: 5 additions & 0 deletions tests/he/cover_HassTurnOff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ language: he
tests:
- sentences:
- סגור את התריס קדמי
- סגרי את התריס קדמי
- סיגרי את התריס קדמי
intent:
name: HassTurnOff
slots:
Expand All @@ -15,6 +17,7 @@ tests:
response: "['garage', 'blind', 'curtain', 'shutter'] נסגר"
- sentences:
- תסגור את התריס קדמי
- תסגרי את התריס קדמי
intent:
name: HassTurnOff
slots:
Expand All @@ -28,6 +31,7 @@ tests:
response: "['garage', 'blind', 'curtain', 'shutter'] נסגר"
- sentences:
- סגור את התריסים במטבח
- סגרי את התריסים במטבח
intent:
name: HassTurnOff
slots:
Expand All @@ -38,6 +42,7 @@ tests:
response: מטבח נסגר
- sentences:
- תסגור את התריסים במטבח
- תסגרי את התריסים במטבח
intent:
name: HassTurnOff
slots:
Expand Down
4 changes: 4 additions & 0 deletions tests/he/cover_HassTurnOn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: he
tests:
- sentences:
- פתח את התריס קדמי
- פתחי את התריס קדמי
intent:
name: HassTurnOn
slots:
Expand All @@ -15,6 +16,7 @@ tests:
response: "['garage', 'blind', 'curtain', 'shutter'] נפתח"
- sentences:
- תפתח את התריס קדמי
- תפתחי את התריס קדמי
intent:
name: HassTurnOn
slots:
Expand All @@ -28,6 +30,7 @@ tests:
response: "['garage', 'blind', 'curtain', 'shutter'] נפתח"
- sentences:
- פתח את התריסים במטבח
- פתחי את התריסים במטבח
intent:
name: HassTurnOn
slots:
Expand All @@ -38,6 +41,7 @@ tests:
response: מטבח נפתח
- sentences:
- תפתח את התריסים במטבח
- תפתחי את התריסים במטבח
intent:
name: HassTurnOn
slots:
Expand Down
4 changes: 4 additions & 0 deletions tests/he/fan_HassTurnOff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,23 @@ language: he
tests:
- sentences:
- כבה את המאוורר במטבח
- כבי את המאוורר במטבח
- כבה את המאורר במטבח
- תכבה את המאוורר במטבח
- תכבה את המאורר במטבח
- תכבי את המאורר במטבח
intent:
name: HassTurnOff
slots:
area: מטבח
domain: fan
- sentences:
- כבה את המאווררים במטבח
- כבי את המאווררים במטבח
- כבה את המאוררים במטבח
- תכבה את המאווררים במטבח
- תכבה את המאוררים במטבח
- תכבי את המאוררים במטבח
intent:
name: HassTurnOff
slots:
Expand Down
4 changes: 4 additions & 0 deletions tests/he/fan_HassTurnOn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ language: he
tests:
- sentences:
- הדלק את המאוורר במטבח
- הדליקי את המאוורר במטבח
- הדלק את המאורר במטבח
- תדליק את המאוורר במטבח
- תדליקי את המאוורר במטבח
- תדליק את המאורר במטבח
intent:
name: HassTurnOn
Expand All @@ -12,8 +14,10 @@ tests:
domain: fan
- sentences:
- הדלק את המאווררים במטבח
- הדליקי את המאווררים במטבח
- הדלק את המאוררים במטבח
- תדליק את המאווררים במטבח
- תדליקי את המאווררים במטבח
- תדליק את המאוררים במטבח
intent:
name: HassTurnOn
Expand Down
4 changes: 4 additions & 0 deletions tests/he/homeassistant_HassTurnOff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ tests:
- כיבוי של המנורה
- לכבות את המנורה
- כבה את המנורה
- כבי את המנורה
- תכבה את המנורה
- תכבי את המנורה
intent:
name: HassTurnOff
slots:
name: מנורה
- sentences:
- סגור את התריס קדמי
- סגרי את התריס קדמי
- תסגור את התריס קדמי
- תסגרי את התריס קדמי
intent:
name: HassTurnOff
slots:
Expand Down
6 changes: 4 additions & 2 deletions tests/he/homeassistant_HassTurnOn.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
language: he
tests:
- sentences:
- הדלק את המנורה
- הדליקי את המנורה
- הדלקה של המנורה
- להדליק את המנורה
- תדליק את המנורה
- תדליקי את המנורה
intent:
name: HassTurnOn
slots:
name: מנורה
- sentences:
- פתח את התריס קדמי
- תפתח את התריס קדמי
- פתחי את התריס קדמי
- תפתחי את התריס קדמי
intent:
name: HassTurnOn
slots:
Expand Down
3 changes: 3 additions & 0 deletions tests/he/light_HassLightSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ tests:
# brightness
- sentences:
- קבע הבהירות האור ל50 אחוז
- קבעי הבהירות האור ל50 אחוז
- שנה את הבהירות האור ל50 אחוז
- שני את הבהירות האור ל50 אחוז
- קבע את בהירות האור ל50
- הגדירי את בהירות האור ל50
intent:
name: HassLightSet
slots:
Expand Down
3 changes: 3 additions & 0 deletions tests/he/light_HassTurnOff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ language: he
tests:
- sentences:
- כבה את האור במטבח
- כבי את האור במטבח
- תכבי את האור במטבח
- לכבות את האור במטבח
intent:
name: HassTurnOff
slots:
Expand Down
3 changes: 3 additions & 0 deletions tests/he/light_HassTurnOn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ language: he
tests:
- sentences:
- הדלק את האור בסלון
- הדליקי את האור בסלון
- הדלקה את האור בסלון
intent:
name: HassTurnOn
slots:
area: סלון
domain: light
- sentences:
- הדלק את האור במטבח
- תדליקי את האור במטבח
intent:
name: HassTurnOn
slots:
Expand Down

0 comments on commit 3987677

Please sign in to comment.