Initial commit

This commit is contained in:
Guillaume Tâche
2024-07-27 17:45:46 +02:00
commit 75829244b9
66 changed files with 2906 additions and 0 deletions

21
whisper/pom.xml Normal file
View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.gtache.autosubtitle</groupId>
<artifactId>autosubtitle</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>autosubtitle-whisper</artifactId>
<dependencies>
<dependency>
<groupId>com.github.gtache.autosubtitle</groupId>
<artifactId>autosubtitle-core</artifactId>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,21 @@
package com.github.gtache.autosubtitle.whisper;
import com.github.gtache.autosubtitle.Audio;
import com.github.gtache.autosubtitle.subtitle.Subtitle;
import com.github.gtache.autosubtitle.subtitle.SubtitleExtractor;
import com.github.gtache.autosubtitle.Video;
import java.util.Collection;
import java.util.List;
public class WhisperSubtitleExtractor implements SubtitleExtractor {
@Override
public Collection<Subtitle> extract(final Video in) {
return List.of();
}
@Override
public Collection<Subtitle> extract(final Audio in) {
return List.of();
}
}