Adds tests for common whisper

This commit is contained in:
Guillaume Tâche
2024-09-16 14:01:57 +02:00
parent dcadbcaf36
commit 3cc2f7a0c9
38 changed files with 796 additions and 130 deletions

View File

@@ -16,7 +16,7 @@ public interface ParametersModel {
List<ExtractionModel> availableExtractionModels();
/**
* @return The current extraction model
* @return The current extraction model setting
*/
ExtractionModel extractionModel();
@@ -31,7 +31,7 @@ public interface ParametersModel {
List<OutputFormat> availableOutputFormats();
/**
* @return The current output format
* @return The current output format setting
*/
OutputFormat outputFormat();
@@ -46,7 +46,7 @@ public interface ParametersModel {
List<String> availableFontFamilies();
/**
* @return The current font family
* @return The current font family setting
*/
String fontName();
@@ -56,7 +56,7 @@ public interface ParametersModel {
void setFontName(String fontFamily);
/**
* @return The current font size
* @return The current font size setting
*/
int fontSize();
@@ -65,11 +65,27 @@ public interface ParametersModel {
*/
void setFontSize(int fontSize);
/**
* @return The current max line length setting
*/
int maxLineLength();
/**
* Sets the max line length
*
* @param maxLineLength The new max line length
*/
void setMaxLineLength(int maxLineLength);
/**
* @return The current max lines setting
*/
int maxLines();
/**
* Sets the max lines
*
* @param maxLines The new max lines
*/
void setMaxLines(int maxLines);
}