docs: def smart_cloud(self,input,max_text_size=72,min_text_size=12,exclude_words = True):
          '''Creates a word cloud using the input.
             Input can be a file, directory, or text.
             Set exclude_words to true if you want to eliminate words that only occur once.'''
          self.exclude_words = exclude_words
          if isdir(input):
              self.directory_cloud(input,max_text_size,min_text_size)
          elif isfile(input):
              text = read_file(input)
              self.text_cloud(text,max_text_size,min_text_size)
          elif isinstance(input, basestring):
              self.text_cloud(input,max_text_size,min_text_size)
          else:
              print 'Input type not supported.'
              print 'Supported types: String, Directory, .txt file'