15 lines
380 B
C#
15 lines
380 B
C#
using DramaLing.Api.Models.DTOs;
|
|
|
|
namespace DramaLing.Api.Contracts.Services.Speech;
|
|
|
|
public interface IPronunciationAssessmentService
|
|
{
|
|
Task<PronunciationResult> EvaluatePronunciationAsync(
|
|
Stream audioStream,
|
|
string referenceText,
|
|
string flashcardId,
|
|
string language = "en-US"
|
|
);
|
|
|
|
Task<bool> IsServiceAvailableAsync();
|
|
} |