SentenceBoundariesOutput interface
An object returning sentence boundaries in the input and output texts.
Properties
src |
An integer array representing the lengths of the sentences in the input text. The length of the array is the number of sentences, and the values are the length of each sentence. |
trans |
An integer array representing the lengths of the sentences in the translated text. The length of the array is the number of sentences, and the values are the length of each sentence. |
Property Details
srcSentLen
An integer array representing the lengths of the sentences in the input text. The length of the array is the number of sentences, and the values are the length of each sentence.
srcSentLen: number[]
Property Value
number[]
transSentLen
An integer array representing the lengths of the sentences in the translated text. The length of the array is the number of sentences, and the values are the length of each sentence.
transSentLen: number[]
Property Value
number[]