Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use Matlab. Function Name: kingsSpeech Inputs 1. (char) Filename of your speech, with extension Outputs: 1. (double) Number of filler words found (char) A string

Use Matlab. image text in transcribed
Function Name: kingsSpeech Inputs 1. (char) Filename of your speech, with extension Outputs: 1. (double) Number of filler words found (char) A string about the quality of the speech 2 Background: You are practicing giving your big speech in a couple of days, when your friends point out that you say "uh, "um", and "like" a lot. To help reduce the number of filler words you use while speaking, you decide to record and transcribe these practice runs. Function Description: Write a MATLAB function that takes in the name of your speech to analyze. For the first output, count all the occurrences of uh' un", and '1ike. For the second output, compare the number of occurrences of 'uh', um'. and 1ike' to the total number of words in the speech and output a phrase based off of the following criteria: %Of the words that are "uh.."un..or.like 296 5% 5% Function output Wow what a good speech! Not bad, keep practicing.' Needs some work." Example If ex.txt file contained the following 1 This is uh an example 2 Speeches like this are like, uh, bad >> [count, out] kingsspeech(.ex.txt.) count 4 outNeeds some work." Notes: * When checking for . uh''un' and . like." case does not matter Do not count or the word 'uh, um' or like' they appear inside another word (e.g likes' does not count) Words will be separated by spaces, but you should ignore all punctuation in each line

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

Students also viewed these Databases questions

Question

3. How has e-commerce transformed marketing?

Answered: 1 week ago