1 | ## PART 2 |
2 | ## Questions for partner: |
3 | # What does text(w) take as an argument? I'm assuming a |
4 | LIST. |
5 | # What do these functions return? Do they modify anything?: |
6 | # - text (DON'T KNOW; going to say a list of misspelled |
7 | words. |
8 | # Could also be list of indices of misspelled words, or ... |
9 | # I'll assume, since you said "determines if the whole text |
10 | is |
11 | # spelled correctly", that it somehow returns all the |
12 | misspelled |
13 | # words in a list.) |
14 | # - word (I assume a boolean) |
15 | # - dictionary (a file? list? etc.) |
16 | # - remove (does it return the word? false if it doesn't |
17 | exist?) |
18 | # Does word determine whether its argument is a |
19 | # CORRECTLY-SPELLED word? :~) |