Skip to content

Commit

Permalink
fixup! feat: Add intents for French language
Browse files Browse the repository at this point in the history
  • Loading branch information
lotooo committed Jan 2, 2025
1 parent bd89f18 commit 702727b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 44 deletions.
14 changes: 7 additions & 7 deletions custom_sentences/fr/music_assistant_PlayMediaAssist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ intents:
track: "[la ](piste|chanson)"
album: "[l'|la |le ](album|ep|disque|compilation|single)"
playlist: "[la ]playlist"
radio_station: "[la ][station de](radio))"
radio_station: "[la ][station de](radio)"

# TARGET A NAME
- sentences:
- "<play> <artist> {artist} <on> [l'|le |la ]{name} [<player_devices>] [(en mode) {radio_mode}]"
- "<play> <album> {album} [par <artist> {artist}] <on> [l'|le |la ]{name} [<player_devices>] [(en mode) {radio_mode}]"
- "<play> <track> {track} [par <artist> {artist}] <on> [l'[le [la ]{name} [<player_devices>] [(en mode) {radio_mode}]"
- "<play> <playlist> {playlist} <on> [l'| le|la ]{name} [<player_devices>] [(en mode) {radio_mode}]"
- "<play> <track> {track} [par <artist> {artist}] <on> [l'|le |la ]{name} [<player_devices>] [(en mode) {radio_mode}]"
- "<play> <playlist> {playlist} <on> [l'|le| la ]{name} [<player_devices>] [(en mode) {radio_mode}]"
- "<play> <radio_station> {radio} <on> [l'|le |la ]{name} [<player_devices>]"
expansion_rules:
play: "((joue)|(mets))"
Expand All @@ -33,13 +33,13 @@ intents:
track: "[la ](piste|chanson)"
album: "[l'|la |le ](album|ep|disque|compilation|single)"
playlist: "[la ]playlist"
radio_station: "[la ][station de](radio))"
radio_station: "[la ][station de](radio)"
requires_context:
domain: "media_player"

# TARGET AN AREA AND A NAME
- sentences:
- "<play> <artist> {artist} dans [l'[le |la ]<area> <on> [l'|le |la ]{name} [<player_devices>] [(en mode) {radio_mode}]"
- "<play> <artist> {artist} dans [l'|le |la ]<area> <on> [l'|le |la ]{name} [<player_devices>] [(en mode) {radio_mode}]"
- "<play> <album> {album} [par <artist> {artist}] dans [l'|le |la ]<area> <on> [l'|le |la ]{name} [<player_devices>] [(en mode) {radio_mode}]"
- "<play> <track> {track} [par <artist> {artist}] dans [l'|le |la ]<area> <on> [l'[le |la ]{name} [<player_devices>][(en mode) {radio_mode}]"
- "<play> <playlist> {playlist} dans [l'|le |la ]<area> <on> [l'|le |la ]{name} [<player_devices>][(en mode) {radio_mode}]"
Expand All @@ -52,7 +52,7 @@ intents:
track: "[la ](piste|chanson)"
album: "[l'|la|le ](album|ep|disque|compilation|single)"
playlist: "[la ]playlist"
radio_station: "[la ][station de](radio))"
radio_station: "[la ][station de](radio)"

# CONTEXT AWARNESS
- sentences:
Expand All @@ -67,7 +67,7 @@ intents:
track: "[la ](piste|chanson)"
album: "[l'|la|le ](album|ep|disque|compilation|single)"
playlist: "[la ]playlist"
radio_station: "[la ][station de](radio))"
radio_station: "[la ][station de](radio)"
requires_context:
area:
slot: true
Expand Down
37 changes: 0 additions & 37 deletions custom_sentences/fr/music_assistant_PlayMediaOnMediaPlayer.yaml

This file was deleted.

0 comments on commit 702727b

Please sign in to comment.