Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def conj(word, mood='indicative', tense='present'):
- result = commands.getoutput('french-conjugator --mode="%s" --tense="%s" %s' % (mood, tense, word))
- if result == '-':
- result = commands.getoutput('french-deconjugator '+word)
- result = ' - '.join(result.splitlines())
- phenny.say(result)
- #and then...
- args = input.group(2).encode('utf-8').split();
- conj(phenny, *args)
Add Comment
Please, Sign In to add comment