Auto Topic: no_vowels
auto_no_vowels | topic
Coverage Score
1
Mentioned Chunks
3
Mentioned Docs
2
Required Dimensions
definitionpros_cons
Covered Dimensions
definitionpros_cons
Keywords
no_vowels
Relations
| Source | Type | Target | W |
|---|
Evidence Chunks
| Source | Confidence | Mentions | Snippet |
|---|---|---|---|
assignments CIS5210-Assignments/M1/homework1.pdf | 0.59 | 3 | ... t. >>> normalize("This is an example." ) 'this is an example.' >>> normalize(" EXTRA SPACE " ) 'extra space' 2. [5 points] Write a function no_vowels(text) that removes all vowels from the input string and returns the result. For the purposes of this problem, the letter ‘y’ is no ... |
assignments CIS5210-Assignments/M1/homework1.pdf | 0.55 | 1 | ... t. >>> normalize("This is an example." ) 'this is an example.' >>> normalize(" EXTRA SPACE " ) 'extra space' 2. [5 points] Write a function no_vowels(text) that removes all vowels from the input |
assignments CIS5210-Assignments/M1/homework1.py | 0.55 | 1 | ... ############################################################ def normalize(text): return " ".join(text.lower().split()) def no_vowels(text): vowels = 'aeiouAEIOU' return ''.join(c for c in text if c not in vowels) DIGIT_MAP = {'0': 'zero', '1': 'one', '2': 'two', '3': 'three', '4 ... |