def get_all_phrases():
 phrases = []
 modules = brain.Brain.get_modules()
 for module in modules:
  phrases.extend(get_phrases_from_module(module))
 return sorted(list(set(phrases)))

def get_all_phrases ( ) : phrases = [ ] modules = brain . Brain . get_modules ( ) for module in modules : phrases . extend ( get_phrases_from_module ( module ) ) return sorted ( list ( set ( phrases ) ) )
gets phrases from all modules .