Returns IMPERATIVE (command), CONDITIONAL (possibility), SUBJUNCTIVE (wish) or INDICATIVE (fact).
(sentence, **kwargs)
| 223 | return False |
| 224 | |
| 225 | def mood(sentence, **kwargs): |
| 226 | """ Returns IMPERATIVE (command), CONDITIONAL (possibility), SUBJUNCTIVE (wish) or INDICATIVE (fact). |
| 227 | """ |
| 228 | if imperative(sentence, **kwargs): |
| 229 | return IMPERATIVE |
| 230 | if conditional(sentence, **kwargs): |
| 231 | return CONDITIONAL |
| 232 | if subjunctive(sentence, **kwargs): |
| 233 | return SUBJUNCTIVE |
| 234 | else: |
| 235 | return INDICATIVE |
| 236 | |
| 237 | ### MODALITY ####################################################################################### |
| 238 |
nothing calls this directly
no test coverage detected
searching dependent graphs…