interface TranslationAlignmentResponse {
    words: {
        alignments: {
            match: number;
            probability: number;
            sourceLemma: string;
            sourceWord: string;
            targetLemma: string;
            targetWord: string;
        }[];
        text: string;
    }[];
}

Properties

Properties

words: {
    alignments: {
        match: number;
        probability: number;
        sourceLemma: string;
        sourceWord: string;
        targetLemma: string;
        targetWord: string;
    }[];
    text: string;
}[]

Type declaration

  • alignments: {
        match: number;
        probability: number;
        sourceLemma: string;
        sourceWord: string;
        targetLemma: string;
        targetWord: string;
    }[]
  • text: string