Problem 200. does it touch ?
given a sentence, tell how much it touches.
input : string
output : how much it touches
touching : a bilabial phoneme does, thinking about the lips
Solution Stats
Problem Comments
-
7 Comments
Does 'touch' mean something for a linguistic / grammatical standpoint? Or is this just a 'joke' problem of some sort?
The description is not sufficient to define the inputs and outputs of the wanted function.
I don't understand the meaning of "Does it touch?" (maybe because I am French) . Even by looking at the test suite , it doesn't help. Eric Could you explain more which task we have to achieve ? Thanks.
Sorry guys, I correct it.
All posted solutions as of today incorrectly detect "ph", such as in the word "phone" which should return 0. Add a test case for "ph", which would complicate matters?
Count the b's, m's and p's?
Yep Richard. It's a part of phonemes that are to be isolated while voice recognition.
Solution Comments
Show commentsProblem Recent Solvers122
Suggested Problems
-
Select every other element of a vector
32968 Solvers
-
Replace NaNs with the number that appears to its left in the row.
2976 Solvers
-
336 Solvers
-
Make an awesome ramp for a tiny motorcycle stuntman
652 Solvers
-
Side of an equilateral triangle
6141 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!