(sentence)
| 26 | def join(words): |
| 27 | return " ".join([w.string.lower() for w in words]) |
| 28 | def question(sentence): |
| 29 | return len(sentence) > 0 and sentence[-1].string == "?" |
| 30 | def verb(word): |
| 31 | return word.type.startswith(("VB","MD")) and (word.chunk is None or word.chunk.type.endswith("VP")) |
| 32 | def verbs(sentence, i=0, j=None): |
no test coverage detected
searching dependent graphs…