Esempio n. 1
0
        public static string ToText(this IEnumerable <Term> terms, bool withParagraphs = false)
        {
            var vtt = new VoiceToTextFormatter(terms);

            return(vtt.Text(withParagraphs));
        }
Esempio n. 2
0
        public static List <VoiceToTextFormatter.TextWithTimestamp> ToTextWithTimestamps(this IEnumerable <Term> terms, TimeSpan timestampInterval, bool withParagraphs = false)
        {
            var vtt = new VoiceToTextFormatter(terms);

            return(vtt.TextWithTimestamps(timestampInterval, withParagraphs));
        }