Skip to content

Commit

Permalink
refactor/alt_classifier (#502)
Browse files Browse the repository at this point in the history
* refactor/alt_classifier

put the media type classifier behind a config flag during experimental phase, fallback to a keyword based tagging mechanism

a compromise between old OCP media type handling and the new pipeline

TODO - decide default value for 0.0.8 stable

* split into "experimental_binary_classifier" + "experimental_media_classifier"

* add tests

* timeout

* timeout
  • Loading branch information
JarbasAl authored Jun 17, 2024
1 parent 7d897eb commit 0386df5
Show file tree
Hide file tree
Showing 28 changed files with 490 additions and 198 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
matrix:
python-version: [3.9]
runs-on: ubuntu-latest
timeout-minutes: 15
timeout-minutes: 35
steps:
- uses: actions/checkout@v2
- name: Set up python ${{ matrix.python-version }}
Expand Down
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/ADKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
audio description
movie description
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/ASMRKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ASMR
autonomous sensory meridian response
3 changes: 3 additions & 0 deletions ovos_core/intent_services/locale/en-us/AdultKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
porn
18 plus
pornography
1 change: 1 addition & 0 deletions ovos_core/intent_services/locale/en-us/AnimeKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
anime
6 changes: 6 additions & 0 deletions ovos_core/intent_services/locale/en-us/AudioBookKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
audiobook
audiobooks
book
books
narrate
read
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/AudioDramaKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
drama
theatre
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/AudioKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
audio
sound
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/BWKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
black and white
monochrome
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/CartoonKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cartoon
cartoons
3 changes: 3 additions & 0 deletions ovos_core/intent_services/locale/en-us/ComicBookKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
animated comic
comic
visual story
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/DocumentaryKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
documentary
documentaries
1 change: 1 addition & 0 deletions ovos_core/intent_services/locale/en-us/GameKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
game
1 change: 1 addition & 0 deletions ovos_core/intent_services/locale/en-us/HentaiKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hentai
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/MovieKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
movie
film
4 changes: 4 additions & 0 deletions ovos_core/intent_services/locale/en-us/MusicKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
music
song
soundtrack
sound track
1 change: 1 addition & 0 deletions ovos_core/intent_services/locale/en-us/NewsKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
news
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/PodcastKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
podcast
podcasts
2 changes: 2 additions & 0 deletions ovos_core/intent_services/locale/en-us/RadioKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
radio
internet radio
4 changes: 4 additions & 0 deletions ovos_core/intent_services/locale/en-us/SeriesKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
series
tv show
episode
episodes
1 change: 1 addition & 0 deletions ovos_core/intent_services/locale/en-us/ShortKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
short
1 change: 1 addition & 0 deletions ovos_core/intent_services/locale/en-us/SilentKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
silent
3 changes: 3 additions & 0 deletions ovos_core/intent_services/locale/en-us/TVKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TV
television
channel
1 change: 1 addition & 0 deletions ovos_core/intent_services/locale/en-us/TrailerKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
trailer
1 change: 1 addition & 0 deletions ovos_core/intent_services/locale/en-us/VideoKeyword.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
video
Loading

0 comments on commit 0386df5

Please sign in to comment.