Skip to content

Commit

Permalink
update locale
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Dec 18, 2024
1 parent 5e3a809 commit 7730a3b
Show file tree
Hide file tree
Showing 10 changed files with 63 additions and 48 deletions.
2 changes: 2 additions & 0 deletions ocp_pipeline/locale/en-us/load_game.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
load
load [the] game
3 changes: 2 additions & 1 deletion ocp_pipeline/locale/en-us/next.intent
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
(play|go to) next (music|song|track|video|media)
next
next (song|track|music|movie|video|tune)
play next
play next
play [the] next (song|track|music|movie|video|tune)
2 changes: 1 addition & 1 deletion ocp_pipeline/locale/en-us/open.intent
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
open (OCP|O C P|common|ovos|open voice os) (player|media player)
open (OCP|O C P|ovos common play|common play|ovos media player|open voice os player) (home screen|home page|homescreen|homepage|menu)
open (OCP|O C P|ovos common play|open voice os common play|common play)
open (media|music|gui|video) (player|catalog|skills|menu|playback)
open [the] (media|music|gui|video) (player|catalog|skills|menu|playback)
2 changes: 1 addition & 1 deletion ocp_pipeline/locale/en-us/pause.intent
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pause
pause (music|song|track|video|media|playback)
pause [the] (music|song|track|video|media|playback|game)
3 changes: 2 additions & 1 deletion ocp_pipeline/locale/en-us/prev.intent
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
(play previous|previous) (music|song|track|video|media)
(play previous|previous|go back)
previous
previous (song|track|music|movie|video|tune)
previous (song|track|music|movie|video|tune)
play [the] previous (song|track|music|movie|video|tune)
2 changes: 1 addition & 1 deletion ocp_pipeline/locale/en-us/read.intent
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
read (book|audiobook|audio book) {query}
read [the] (book|audiobook|audio book) {query}
read {query}
read {query} (book|audiobook|audio book)
2 changes: 1 addition & 1 deletion ocp_pipeline/locale/en-us/resume.intent
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
(unpause|resume)
(unpause|resume|continue|restart) (music|song|track|video|media|playback)
(unpause|resume|continue|restart) [the] (music|song|track|video|media|playback|game)
play
2 changes: 2 additions & 0 deletions ocp_pipeline/locale/en-us/save_game.intent
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
save
save [the] game
5 changes: 2 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ovos-workshop>=0.1.7,<4.0.0
ovos-classifiers
ovos-utils>=0.3.5,<1.0.0
ovos-plugin-manager>=0.5.0,<1.0.0
langcodes
ovos-utils[extras]>=0.3.5,<1.0.0
ovos-plugin-manager>=0.5.0,<1.0.0
88 changes: 49 additions & 39 deletions translations/en-us/intents.json
Original file line number Diff line number Diff line change
@@ -1,63 +1,73 @@
{
"play.intent": [
"(play|start) {query}",
"search (common play|ocp|ovos common play|O C P) for {query}",
"search (ovos|open voice os) media for {query}",
"search {query} (in|on) (common play|ocp|ovos common play|O C P)",
"search {query} (in|on) (ovos|open voice os) media"
"featured.intent": [
"(open|show|display) (featured|) {media} (catalog|collection|playlist)",
"(open|show|display) featured {media}"
],
"like_song.intent": [
"i like (that|this|it)",
"i like (that|this)(song|music|track|jam|sound)",
"(good|nice|great|amazing|awesome|cool) (song|music|track|jam|sound)",
"(that|this|it) is a (good|nice|great|amazing|awesome|cool) (song|music|track|jam|sound)"
"(that|this|it) is a (good|nice|great|amazing|awesome|cool) (song|music|track|jam|sound)",
"i like (that|this)(song|music|track|jam|sound)",
"i like (that|this|it)"
],
"load_game.intent": [
"load",
"load [the] game"
],
"media_stop.intent": [
"stop",
"stop (playback|media|media playback|music|movie|movies|noise)",
"stop everything"
],
"next.intent": [
"(next|skip)",
"(next|skip) (music|song|track|video|media)",
"(play|go to) next (music|song|track|video|media)",
"play next",
"next",
"next (song|track|music|movie|video|tune)"
"next (song|track|music|movie|video|tune)",
"play [the] next (song|track|music|movie|video|tune)",
"play next"
],
"resume.intent": [
"(unpause|resume)",
"(unpause|resume|continue|restart) (music|song|track|video|media|playback)",
"play"
"open.intent": [
"open (OCP|O C P|common|ovos|open voice os) (player|media player)",
"open (OCP|O C P|ovos common play|common play|ovos media player|open voice os player) (home screen|home page|homescreen|homepage|menu)",
"open (OCP|O C P|ovos common play|open voice os common play|common play)",
"open [the] (media|music|gui|video) (player|catalog|skills|menu|playback)"
],
"read.intent": [
"read (book|audiobook|audio book) {query}",
"read {query}",
"read {query} (book|audiobook|audio book)"
"pause.intent": [
"pause",
"pause [the] (music|song|track|video|media|playback|game)"
],
"play.intent": [
"(play|start) {query}",
"search (common play|ocp|ovos common play|O C P) for {query}",
"search (ovos|open voice os) media for {query}",
"search {query} (in|on) (common play|ocp|ovos common play|O C P)",
"search {query} (in|on) (ovos|open voice os) media"
],
"play_favorites.intent": [
"(play|start) (favorite|liked) (tracks|song|songs|music|jam|jams)",
"(play|start) my (favorite|liked) (tracks|song|songs|music|jam|jams)"
],
"prev.intent": [
"(play previous|go back one) (music|song|track|video|media)",
"(play previous|previous) (music|song|track|video|media)",
"(play previous|previous|go back)",
"play [the] previous (song|track|music|movie|video|tune)",
"previous",
"previous (song|track|music|movie|video|tune)"
],
"pause.intent": [
"pause",
"pause (music|song|track|video|media|playback)"
],
"open.intent": [
"open (OCP|O C P|common|ovos|open voice os) (player|media player)",
"open (OCP|O C P|ovos common play|common play|ovos media player|open voice os player) (home screen|home page|homescreen|homepage|menu)",
"open (OCP|O C P|ovos common play|open voice os common play|common play)",
"open (media|music|gui|video) (player|catalog|skills|menu|playback)"
],
"featured.intent": [
"(open|show|display) (featured|) {media} (catalog|collection|playlist)",
"(open|show|display) featured {media}"
"read.intent": [
"read [the] (book|audiobook|audio book) {query}",
"read {query}",
"read {query} (book|audiobook|audio book)"
],
"play_favorites.intent": [
"(play|start) my (favorite|liked) (tracks|song|songs|music|jam|jams)",
"(play|start) (favorite|liked) (tracks|song|songs|music|jam|jams)"
"resume.intent": [
"(unpause|resume)",
"(unpause|resume|continue|restart) [the] (music|song|track|video|media|playback|game)",
"play"
],
"media_stop.intent": [
"stop",
"stop (playback|media|media playback|music|movie|movies|noise)",
"stop everything"
"save_game.intent": [
"save",
"save [the] game"
]
}

0 comments on commit 7730a3b

Please sign in to comment.